[vlc-devel] commit: Put msg_context_global_key to the internal header. ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu May 1 21:16:13 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Thu May 1 22:17:21 2008 +0300| [6673258639e376114376094236a511d03be5a95e]
Put msg_context_global_key to the internal header.
It was not exported from libvlc anyhow.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6673258639e376114376094236a511d03be5a95e
---
include/vlc_common.h | 8 --------
src/libvlc.h | 7 +++++++
src/misc/messages.c | 1 +
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/include/vlc_common.h b/include/vlc_common.h
index a0f7a3d..606ba43 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -1004,14 +1004,6 @@ VLC_EXPORT( const char *, VLC_Changeset, ( void ) );
#include "main.h"
#include "vlc_configuration.h"
-/** The global thread var for msg stack context
- * We store this as a static global variable so we don't need a vlc_object_t
- * everywhere.
- * This key is created in vlc_threads_init and is therefore ready to use at
- * the very beginning of the universe */
-extern vlc_threadvar_t msg_context_global_key;
-
-
#if defined( WIN32 ) || defined( UNDER_CE )
# define DIR_SEP_CHAR '\\'
# define DIR_SEP "\\"
diff --git a/src/libvlc.h b/src/libvlc.h
index da25c7d..b3dff5e 100644
--- a/src/libvlc.h
+++ b/src/libvlc.h
@@ -59,6 +59,13 @@ VLC_EXPORT( const char * , system_VLCPath, (void));
int __vlc_threads_init( vlc_object_t * );
int __vlc_threads_end( vlc_object_t * );
+/** The global thread var for msg stack context
+ * We store this as a static global variable so we don't need a vlc_object_t
+ * everywhere.
+ * This key is created in vlc_threads_init and is therefore ready to use at
+ * the very beginning of the universe */
+extern vlc_threadvar_t msg_context_global_key;
+
/*
* CPU capabilities
*/
diff --git a/src/misc/messages.c b/src/misc/messages.c
index 5f64faf..ed17b87 100644
--- a/src/misc/messages.c
+++ b/src/misc/messages.c
@@ -53,6 +53,7 @@
#include <assert.h>
#include <vlc_charset.h>
+#include "../libvlc.h"
/*****************************************************************************
* Local macros
More information about the vlc-devel
mailing list