]> git.sesse.net Git - vlc/blobdiff - include/vlc_objects.h
Use vlc_object_kill(). Needs triple checking.
[vlc] / include / vlc_objects.h
index f12c070939444823416e670e469b13c51d522e54..a906d517cc9aea7af324bb62369673b711d324af 100644 (file)
@@ -119,6 +119,9 @@ VLC_EXPORT( libvlc_int_t *, vlc_current_object, ( int ) );
     __vlc_object_destroy( VLC_OBJECT(a) ); \
     (a) = NULL; } while(0)
 
+#define vlc_object_kill(a) \
+    __vlc_object_kill( VLC_OBJECT(a) )
+
 #define vlc_object_detach(a) \
     __vlc_object_detach( VLC_OBJECT(a) )