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

libvlc_global_data_t: fix description

parent 49dd062d
...@@ -122,7 +122,6 @@ static inline void __vlc_fourcc_to_char( vlc_fourcc_t fcc, char *psz_fourcc ) ...@@ -122,7 +122,6 @@ static inline void __vlc_fourcc_to_char( vlc_fourcc_t fcc, char *psz_fourcc )
*****************************************************************************/ *****************************************************************************/
/* Internal types */ /* Internal types */
typedef struct libvlc_global_data_t libvlc_global_data_t;
typedef struct libvlc_int_t libvlc_int_t; typedef struct libvlc_int_t libvlc_int_t;
typedef struct variable_t variable_t; typedef struct variable_t variable_t;
typedef struct date_t date_t; typedef struct date_t date_t;
......
...@@ -98,14 +98,14 @@ extern void * ...@@ -98,14 +98,14 @@ extern void *
vlc_custom_create (vlc_object_t *p_this, size_t i_size, int i_type, vlc_custom_create (vlc_object_t *p_this, size_t i_size, int i_type,
const char *psz_type); const char *psz_type);
/***************************************************************************** /**
* libvlc_global_data_t (global variable) * libvlc_global_data_t (global variable)
***************************************************************************** *
* This structure has an unique instance, statically allocated in main and * This structure has an unique instance, statically allocated in libvlc and
* never accessed from the outside. It stores once-initialized data such as * never accessed from the outside. It stores process-wide VLC variables,
* the CPU capabilities or the global lock. * mostly process-wide locks, and (currently) the module bank and objects tree.
*****************************************************************************/ */
struct libvlc_global_data_t typedef struct libvlc_global_data_t
{ {
VLC_COMMON_MEMBERS VLC_COMMON_MEMBERS
...@@ -124,7 +124,7 @@ struct libvlc_global_data_t ...@@ -124,7 +124,7 @@ struct libvlc_global_data_t
#elif defined( WIN32 ) #elif defined( WIN32 )
char * psz_vlcpath; char * psz_vlcpath;
#endif #endif
}; } libvlc_global_data_t;
libvlc_global_data_t *vlc_global (void); libvlc_global_data_t *vlc_global (void);
......
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