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

git version control git at videolan.org
Sat Sep 5 10:09:45 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Sep  5 11:08:41 2009 +0300| [ba7f2c28338179628989b61e0c78fa81c57afc72] | committer: Rémi Denis-Courmont 

Deprecate vlc_object_find_name()

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

 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 e2fda54..804fc20 100644
--- a/include/vlc_objects.h
+++ b/include/vlc_objects.h
@@ -75,6 +75,9 @@ VLC_EXPORT( void, __vlc_object_detach, ( vlc_object_t * ) );
 __attribute__((deprecated))
 #endif
 VLC_EXPORT( void *, __vlc_object_find, ( vlc_object_t *, int, int ) );
+#if defined (__GNUC__) && !defined __cplusplus
+__attribute__((deprecated))
+#endif
 VLC_EXPORT( vlc_object_t *, vlc_object_find_name, ( vlc_object_t *, const char *, int ) );
 VLC_EXPORT( void *, __vlc_object_hold, ( vlc_object_t * ) );
 VLC_EXPORT( void, __vlc_object_release, ( vlc_object_t * ) );




More information about the vlc-devel mailing list