mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
obs-tools: Add deleter for obs_weak_source_t
This commit is contained in:
parent
e4b4dc23e8
commit
97e1846156
1 changed files with 5 additions and 0 deletions
|
@ -43,6 +43,11 @@ namespace obs {
|
|||
obs_source_release(v);
|
||||
}
|
||||
|
||||
inline void obs_weak_source_deleter(obs_weak_source_t* v)
|
||||
{
|
||||
obs_weak_source_release(v);
|
||||
}
|
||||
|
||||
inline void obs_scene_deleter(obs_scene_t* v)
|
||||
{
|
||||
obs_scene_release(v);
|
||||
|
|
Loading…
Reference in a new issue