obs-tools: Add OBS data deleter

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2020-04-22 22:54:11 +02:00 committed by Michael Fabian Dirks
parent fec55909ef
commit 6cbfee4579

View file

@ -62,4 +62,9 @@ namespace obs {
{
obs_sceneitem_remove(v);
}
inline void obs_data_deleter(obs_data_t* v)
{
obs_data_release(v);
}
} // namespace obs