[vlc-devel] commit: Remove vlc_object_signal and unexport vlc_object_signal_unlocked ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Jan 5 22:11:25 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Mon Jan  5 23:11:08 2009 +0200| [247513ab9551129aa45108404771cf9f0782253a] | committer: Rémi Denis-Courmont 

Remove vlc_object_signal and unexport vlc_object_signal_unlocked

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=247513ab9551129aa45108404771cf9f0782253a
---

 include/vlc_objects.h |   13 -------------
 src/libvlc.h          |    3 +++
 src/libvlccore.sym    |    1 -
 3 files changed, 3 insertions(+), 14 deletions(-)

diff --git a/include/vlc_objects.h b/include/vlc_objects.h
index a034a6b..f188dff 100644
--- a/include/vlc_objects.h
+++ b/include/vlc_objects.h
@@ -135,19 +135,6 @@ VLC_EXPORT( void, __vlc_object_wait, ( vlc_object_t * ) );
 #define vlc_object_wait( obj ) \
     __vlc_object_wait( VLC_OBJECT( obj ) )
 
-VLC_EXPORT( void, __vlc_object_signal_unlocked, ( vlc_object_t * ) );
-#define vlc_object_signal_unlocked( obj ) \
-    __vlc_object_signal_unlocked( VLC_OBJECT( obj ) )
-
-static inline void __vlc_object_signal( vlc_object_t *obj )
-{
-    vlc_object_lock( obj );
-    vlc_object_signal_unlocked( obj );
-    vlc_object_unlock( obj );
-}
-#define vlc_object_signal( obj ) \
-    __vlc_object_signal( VLC_OBJECT( obj ) )
-
 VLC_EXPORT( void, __vlc_object_kill, ( vlc_object_t * ) );
 #define vlc_object_kill(a) \
     __vlc_object_kill( VLC_OBJECT(a) )
diff --git a/src/libvlc.h b/src/libvlc.h
index eadc1fa..32218d8 100644
--- a/src/libvlc.h
+++ b/src/libvlc.h
@@ -49,6 +49,9 @@ void system_End       ( libvlc_int_t * );
 /* Hopefully, no need to export this. There is a new thread API instead. */
 void vlc_thread_cancel (vlc_object_t *);
 int vlc_object_waitpipe (vlc_object_t *obj);
+void __vlc_object_signal_unlocked (vlc_object_t *);
+#define vlc_object_signal_unlocked( obj ) \
+    __vlc_object_signal_unlocked( VLC_OBJECT( obj ) )
 
 void vlc_trace (const char *fn, const char *file, unsigned line);
 #define vlc_backtrace() vlc_trace(__func__, __FILE__, __LINE__)
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index da68fb3..74731fc 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -491,7 +491,6 @@ __vlc_object_kill
 __vlc_object_lock
 __vlc_object_release
 __vlc_object_set_destructor
-__vlc_object_signal_unlocked
 __vlc_object_unlock
 __vlc_object_wait
 vlc_poll




More information about the vlc-devel mailing list