]> git.sesse.net Git - vlc/commitdiff
Revert "modules: Put bool at the end of the structure to eventually ease packing."
authorPierre d'Herbemont <pdherbemont@free.fr>
Fri, 5 Mar 2010 13:58:20 +0000 (14:58 +0100)
committerPierre d'Herbemont <pdherbemont@free.fr>
Fri, 5 Mar 2010 13:58:20 +0000 (14:58 +0100)
This reverts commit 58275b9dd582d873d42c08a47873ae44b67f1003.

This is probably too late for this kind of changes. And it's probably not the best way to reduce the hudge memory footprint of the module bank.

src/modules/modules.h

index 158485045e8aaabe94172420e992518b779c32f5..2973c43aa4da35cae6a8ffbba77f4e15ca980acb 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 *);