De-inline playlist_Signal
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Tue, 30 Sep 2008 20:05:08 +0000 (23:05 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Tue, 30 Sep 2008 20:10:34 +0000 (23:10 +0300)
include/vlc_playlist.h
src/libvlccore.sym
src/playlist/control.c

index 2b40bc6..2a3a2d4 100644 (file)
@@ -390,7 +390,7 @@ static  inline input_thread_t * __pl_CurrentInput( vlc_object_t * p_this )
 #define playlist_CurrentSize( pl ) pl->current.i_size
 
 /** Ask the playlist to do some work */
-#define playlist_Signal( p_playlist ) vlc_object_signal( p_playlist )
+VLC_EXPORT( void, playlist_Signal, ( playlist_t * ) );
 
 /** @} */
 # ifdef __cplusplus
index 81995f3..ce068e0 100644 (file)
@@ -308,6 +308,7 @@ playlist_PreparseEnqueueItem
 playlist_RecursiveNodeSort
 playlist_ServicesDiscoveryAdd
 playlist_ServicesDiscoveryRemove
+playlist_Signal
 playlist_Status
 playlist_TreeMove
 __pl_Hold
index 88985c0..09852b1 100644 (file)
@@ -67,6 +67,12 @@ void __pl_Release( vlc_object_t *p_this )
     vlc_object_release( pl );
 }
 
+void playlist_Signal( playlist_t *p_playlist )
+{
+    /* TODO: assert playlist lock? */
+    vlc_object_signal( p_playlist );
+}
+
 int playlist_Control( playlist_t * p_playlist, int i_query,
                       bool b_locked, ... )
 {