Deprecate vlc_object_wait()
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 19 Jan 2009 17:01:02 +0000 (19:01 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 19 Jan 2009 17:01:02 +0000 (19:01 +0200)
include/vlc_objects.h

index 9c00a18..9691890 100644 (file)
@@ -131,6 +131,9 @@ VLC_EXPORT( void, __vlc_object_assert_locked, ( vlc_object_t * ) );
 #define vlc_object_assert_locked( obj ) \
     __vlc_object_assert_locked( VLC_OBJECT( obj ) )
 
+#if defined (__GNUC__) && !defined __cplusplus
+__attribute__((deprecated))
+#endif
 VLC_EXPORT( void, __vlc_object_wait, ( vlc_object_t * ) );
 #define vlc_object_wait( obj ) \
     __vlc_object_wait( VLC_OBJECT( obj ) )