From ba7f2c28338179628989b61e0c78fa81c57afc72 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 5 Sep 2009 11:08:41 +0300 Subject: [PATCH] Deprecate vlc_object_find_name() --- include/vlc_objects.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/vlc_objects.h b/include/vlc_objects.h index e2fda545a7..804fc2010f 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 * ) ); -- 2.39.5