]> git.sesse.net Git - vlc/commitdiff
libvlc_global_data_t: fix description
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 4 May 2008 16:48:59 +0000 (19:48 +0300)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 4 May 2008 16:48:59 +0000 (19:48 +0300)
include/vlc_common.h
src/libvlc.h

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