mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-27 13:53:01 +00:00
obs-tools: Add OBS data deleter
This commit is contained in:
parent
fec55909ef
commit
6cbfee4579
1 changed files with 5 additions and 0 deletions
|
@ -62,4 +62,9 @@ namespace obs {
|
||||||
{
|
{
|
||||||
obs_sceneitem_remove(v);
|
obs_sceneitem_remove(v);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline void obs_data_deleter(obs_data_t* v)
|
||||||
|
{
|
||||||
|
obs_data_release(v);
|
||||||
|
}
|
||||||
} // namespace obs
|
} // namespace obs
|
||||||
|
|
Loading…
Reference in a new issue