Commit 58275b9d authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

modules: Put bool at the end of the structure to eventually ease packing.

parent 503a7851
...@@ -112,9 +112,6 @@ struct module_t ...@@ -112,9 +112,6 @@ struct module_t
char *psz_capability; /**< Capability */ char *psz_capability; /**< Capability */
int i_score; /**< Score for the capability */ int i_score; /**< Score for the capability */
bool b_unloadable; /**< Can we be dlclosed? */
bool b_submodule; /**< Is this a submodule? */
/* Callbacks */ /* Callbacks */
int ( * pf_activate ) ( vlc_object_t * ); int ( * pf_activate ) ( vlc_object_t * );
void ( * pf_deactivate ) ( vlc_object_t * ); void ( * pf_deactivate ) ( vlc_object_t * );
...@@ -137,6 +134,12 @@ struct module_t ...@@ -137,6 +134,12 @@ struct module_t
bool b_builtin; /* Set to true if the module is built in */ 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_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 *); module_t *vlc_module_create (vlc_object_t *);
......
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