]> git.sesse.net Git - vlc/commitdiff
Deprecate vlc_object_find_name()
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 5 Sep 2009 08:08:41 +0000 (11:08 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 5 Sep 2009 08:09:30 +0000 (11:09 +0300)
include/vlc_objects.h

index e2fda545a74b1e2f687b8e5728e28c239950f7a4..804fc2010fa30c480d13e582673fc4ce29b24509 100644 (file)
@@ -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 * ) );