[vlc-commits] commit: modules: Put bool at the end of the structure to eventually ease packing. (Pierre d 'Herbemont )
git version control
git at videolan.org
Fri Mar 5 19:36:14 CET 2010
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Fri Mar 5 14:24:37 2010 +0100| [909af0dbaab638d035e361a7c6a4c0bd8531322d] | committer: Antoine Cellerier
modules: Put bool at the end of the structure to eventually ease packing.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=909af0dbaab638d035e361a7c6a4c0bd8531322d
---
src/modules/modules.h | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/modules/modules.h b/src/modules/modules.h
index 50add49..879c713 100644
--- a/src/modules/modules.h
+++ b/src/modules/modules.h
@@ -112,9 +112,6 @@ 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 * );
@@ -137,6 +134,12 @@ 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 *);
More information about the vlc-commits
mailing list