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

git version control git at videolan.org
Thu Aug 28 22:38:54 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Aug 28 23:19:35 2008 +0300| [50ee88d2ff74ca17c6350a198a3c4b7ec438ec9b] | committer: Rémi Denis-Courmont 

Deprecate vlc_object_get

(Hopefully-would-have-been-Signed-off-by: Pierre d'Herbemont)

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

 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 34149d0..c31436c 100644
--- a/include/vlc_objects.h
+++ b/include/vlc_objects.h
@@ -80,6 +80,9 @@ VLC_EXPORT( void *, __vlc_object_create, ( vlc_object_t *, int ) );
 VLC_EXPORT( void, __vlc_object_set_destructor, ( vlc_object_t *, vlc_destructor_t ) );
 VLC_EXPORT( void, __vlc_object_attach, ( vlc_object_t *, vlc_object_t * ) );
 VLC_EXPORT( void, __vlc_object_detach, ( vlc_object_t * ) );
+#if defined (__GNUC__) && !defined __cplusplus
+__attribute__((deprecated))
+#endif
 VLC_EXPORT( void *, vlc_object_get, ( int ) );
 VLC_EXPORT( void *, __vlc_object_find, ( vlc_object_t *, int, int ) );
 VLC_EXPORT( void *, __vlc_object_find_name, ( vlc_object_t *, const char *, int ) );




More information about the vlc-devel mailing list