[vlc-commits] Deprecate vlc_object_kill(). There are several safer alternatives.

Rémi Denis-Courmont git at videolan.org
Sat May 7 17:43:55 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May  7 18:43:10 2011 +0300| [71992c5fbc75ee2c94cd2a3ab1aaca70bfc688a9] | committer: Rémi Denis-Courmont

Deprecate vlc_object_kill(). There are several safer alternatives.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=71992c5fbc75ee2c94cd2a3ab1aaca70bfc688a9
---

 include/vlc_objects.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/vlc_objects.h b/include/vlc_objects.h
index 8921270..a677d8a 100644
--- a/include/vlc_objects.h
+++ b/include/vlc_objects.h
@@ -92,7 +92,7 @@ VLC_API char *vlc_object_get_name( const vlc_object_t * ) LIBVLC_USED;
     vlc_list_children( VLC_OBJECT(a) )
 
 /* Objects and threading */
-VLC_API void vlc_object_kill( vlc_object_t * );
+VLC_API void vlc_object_kill( vlc_object_t * ) LIBVLC_DEPRECATED;
 #define vlc_object_kill(a) \
     vlc_object_kill( VLC_OBJECT(a) )
 



More information about the vlc-commits mailing list