]> git.sesse.net Git - vlc/blobdiff - include/vlc_objects.h
Deprecate vlc_object_find_name()
[vlc] / 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 * ) );