[vlc-devel] commit: Deprecate vlc_object_wait() ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Jan 19 18:02:30 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Mon Jan 19 19:01:02 2009 +0200| [99830a17866b666cd7609943a93131af58441376] | committer: Rémi Denis-Courmont 

Deprecate vlc_object_wait()

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

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

diff --git a/include/vlc_objects.h b/include/vlc_objects.h
index 9c00a18..9691890 100644
--- a/include/vlc_objects.h
+++ b/include/vlc_objects.h
@@ -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 ) )




More information about the vlc-devel mailing list