]> git.sesse.net Git - vlc/commitdiff
include/vlc_objects.h: Use the usual macro trick, to publish a function that take...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 22 Dec 2007 16:19:04 +0000 (16:19 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 22 Dec 2007 16:19:04 +0000 (16:19 +0000)
include/vlc_objects.h
src/misc/objects.c

index 5589f956f1b68260cef80f5e633cb0b7e6f6fe8d..5048fdb44c6ab5a7fa6e3b500cf0dfa2e42cf015 100644 (file)
@@ -178,7 +178,9 @@ VLC_EXPORT( vlc_bool_t, __vlc_object_alive, ( vlc_object_t * ) );
 #define vlc_object_alive(a) \
     __vlc_object_alive( VLC_OBJECT(a) )
 
-int vlc_object_waitpipe( vlc_object_t *obj );
+VLC_EXPORT( int, __vlc_object_waitpipe, ( vlc_object_t *obj ));
+#define vlc_object_waitpipe(a) \
+    __vlc_object_waitpipe( VLC_OBJECT(a) )
 
 /* NOTE: this function is a *temporary* convenience.
  * See the vlc_object_alive() documentation for a better alternative.
index 734cb3502ad6343d2b8b23709998146f35b5f30c..b67ea08c92b8081a25ef8977a91808028b87a66f 100644 (file)
@@ -482,7 +482,7 @@ void __vlc_object_unlock( vlc_object_t *obj )
  * @param obj object that would be signaled (object lock MUST hold)
  * @return a readable pipe descriptor, or -1 on error.
  */
-int vlc_object_waitpipe( vlc_object_t *obj )
+int __vlc_object_waitpipe( vlc_object_t *obj )
 {
     int *pipes = obj->p_internals->pipes;
     vlc_assert_locked( &obj->object_lock );