obs-tools: Add deleter for obs_weak_source_t

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2020-04-10 15:37:25 +02:00 committed by Michael Fabian Dirks
parent e4b4dc23e8
commit 97e1846156

View file

@ -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);