]> git.sesse.net Git - vlc/blobdiff - include/vlc_objects.h
Forgot this file in [22086]
[vlc] / include / vlc_objects.h
index 03893fd33ed9d11bdd6d5c331e630a0aa080e0a0..46103b16e257611c79ac5f0a5e20ffd1cc8e5911 100644 (file)
@@ -163,6 +163,8 @@ vlc_bool_t __vlc_object_lock_and_wait( vlc_object_t *obj )
     vlc_object_unlock( obj );
     return b;
 }
+#define vlc_object_lock_and_wait( obj ) \
+    __vlc_object_lock_and_wait( VLC_OBJECT(obj) )
 
 VLC_EXPORT( int, __vlc_object_timedwait, ( vlc_object_t *, mtime_t ) );
 #define vlc_object_timedwait( obj, d ) \