]> git.sesse.net Git - vlc/blobdiff - src/playlist/control.c
playlist: add real functions for locking
[vlc] / src / playlist / control.c
index a3f87c61eafff68e70f7c2dee5b51de6d0f403c7..f9260e072a92ba636e1ec6740abdb16ff1c38fd0 100644 (file)
@@ -66,6 +66,21 @@ void __pl_Release( vlc_object_t *p_this )
     vlc_object_release( pl );
 }
 
+void playlist_Lock( playlist_t *pl )
+{
+    vlc_object_lock( pl );
+}
+
+void playlist_Unlock( playlist_t *pl )
+{
+    vlc_object_unlock( pl );
+}
+
+void playlist_AssertLocked( playlist_t *pl )
+{
+    vlc_object_assert_locked( pl );
+}
+
 int playlist_Control( playlist_t * p_playlist, int i_query,
                       bool b_locked, ... )
 {