]> git.sesse.net Git - vlc/blobdiff - src/modules/modules.h
Revert "modules: Put bool at the end of the structure to eventually ease packing."
[vlc] / src / modules / modules.h
index 879c71390114dd3231e6e16f3fc195aebea563a7..50add49bc55f292b76ced27a586ae63715f14e58 100644 (file)
@@ -112,6 +112,9 @@ struct module_t
     char    *psz_capability;                                 /**< Capability */
     int      i_score;                          /**< Score for the capability */
 
+    bool b_unloadable;                        /**< Can we be dlclosed? */
+    bool b_submodule;                        /**< Is this a submodule? */
+
     /* Callbacks */
     int  ( * pf_activate )   ( vlc_object_t * );
     void ( * pf_deactivate ) ( vlc_object_t * );
@@ -134,12 +137,6 @@ struct module_t
 
     bool          b_builtin;  /* Set to true if the module is built in */
     bool          b_loaded;        /* Set to true if the dll is loaded */
-
-    /*
-     * Other variables set by the module to identify itself
-     */
-    bool b_unloadable;                        /**< Can we be dlclosed? */
-    bool b_submodule;                        /**< Is this a submodule? */
 };
 
 module_t *vlc_module_create (vlc_object_t *);