[vlc-commits] Deprecate vlc_object_alive()
Rémi Denis-Courmont
git at videolan.org
Mon Jun 20 18:31:56 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jun 20 19:30:44 2011 +0300| [89a6c1431ee8b88fa66cdf3f80882f64227ded0c] | committer: Rémi Denis-Courmont
Deprecate vlc_object_alive()
The biggest landmark of thread-unsafety.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=89a6c1431ee8b88fa66cdf3f80882f64227ded0c
---
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 71c1ab7..4ba8fc9 100644
--- a/include/vlc_objects.h
+++ b/include/vlc_objects.h
@@ -87,7 +87,7 @@ VLC_API void vlc_object_kill( vlc_object_t * ) VLC_DEPRECATED;
#define vlc_object_kill(a) \
vlc_object_kill( VLC_OBJECT(a) )
-VLC_USED
+VLC_USED VLC_DEPRECATED
static inline bool vlc_object_alive (const vlc_object_t *obj)
{
barrier ();
More information about the vlc-commits
mailing list