Commit 66732586 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Put msg_context_global_key to the internal header.

It was not exported from libvlc anyhow.
parent d1d3dc1d
...@@ -1004,14 +1004,6 @@ VLC_EXPORT( const char *, VLC_Changeset, ( void ) ); ...@@ -1004,14 +1004,6 @@ VLC_EXPORT( const char *, VLC_Changeset, ( void ) );
#include "main.h" #include "main.h"
#include "vlc_configuration.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 ) #if defined( WIN32 ) || defined( UNDER_CE )
# define DIR_SEP_CHAR '\\' # define DIR_SEP_CHAR '\\'
# define DIR_SEP "\\" # define DIR_SEP "\\"
......
...@@ -59,6 +59,13 @@ VLC_EXPORT( const char * , system_VLCPath, (void)); ...@@ -59,6 +59,13 @@ VLC_EXPORT( const char * , system_VLCPath, (void));
int __vlc_threads_init( vlc_object_t * ); int __vlc_threads_init( vlc_object_t * );
int __vlc_threads_end( 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 * CPU capabilities
*/ */
......
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
#include <assert.h> #include <assert.h>
#include <vlc_charset.h> #include <vlc_charset.h>
#include "../libvlc.h"
/***************************************************************************** /*****************************************************************************
* Local macros * Local macros
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment