Commit c76ca666 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

include/vlc_objects.h: Use the usual macro trick, to publish a function that...

include/vlc_objects.h: Use the usual macro trick, to publish a function that take as argument a vlc_object_t *, here for vlc_object_waitpipe().
parent 949dac11
......@@ -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.
......
......@@ -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 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment