[vlc-commits] commit: module_t: repack again. ( Rémi Duraffort )

git at videolan.org git at videolan.org
Wed Apr 21 12:19:03 CEST 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Apr 21 12:11:23 2010 +0200| [9f0974cbcc34cfcde5c7d02881195918ae8e0b15] | committer: Rémi Duraffort 

module_t: repack again.

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

 src/modules/modules.h |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/modules/modules.h b/src/modules/modules.h
index c0772a8..4d04280 100644
--- a/src/modules/modules.h
+++ b/src/modules/modules.h
@@ -93,11 +93,16 @@ typedef shl_t module_handle_t;
 struct module_t
 {
     char       *psz_object_name;
+    gc_object_t vlc_gc_data;
+
     module_t   *next;
-    module_t   *submodule;
     module_t   *parent;
+    module_t   *submodule;
     unsigned    submodule_count;
-    gc_object_t vlc_gc_data;
+
+    /** Shortcuts to the module */
+    int    i_shortcuts;
+    char **pp_shortcuts;
 
     /*
      * Variables set by the module to identify itself
@@ -106,13 +111,11 @@ struct module_t
     char *psz_longname;                   /**< Module descriptive name */
     char *psz_help;        /**< Long help string for "special" modules */
 
-    /** Shortcuts to the module */
-    char **pp_shortcuts;
-    int    i_shortcuts;
-
     char    *psz_capability;                                 /**< Capability */
     int      i_score;                          /**< Score for the capability */
 
+    bool          b_builtin;  /* Set to true if the module is built in */
+    bool          b_loaded;        /* Set to true if the dll is loaded */
     bool b_unloadable;                        /**< Can we be dlclosed? */
     bool b_submodule;                        /**< Is this a submodule? */
 
@@ -135,9 +138,6 @@ struct module_t
     module_handle_t     handle;                             /* Unique handle */
     char *              psz_filename;                     /* Module filename */
     char *              domain;                            /* gettext domain */
-
-    bool          b_builtin;  /* Set to true if the module is built in */
-    bool          b_loaded;        /* Set to true if the dll is loaded */
 };
 
 module_t *vlc_module_create (vlc_object_t *);



More information about the vlc-commits mailing list