]> git.sesse.net Git - vlc/blobdiff - src/modules/modules.h
Modules: use a dynamic array for the shortcuts (this save 40K of memory on a 64bit...
[vlc] / src / modules / modules.h
index 50add49bc55f292b76ced27a586ae63715f14e58..c0772a8e9dff1e0c454c20fcc61a3ce9cf425520 100644 (file)
@@ -107,7 +107,8 @@ struct module_t
     char *psz_help;        /**< Long help string for "special" modules */
 
     /** Shortcuts to the module */
-    char *pp_shortcuts[ MODULE_SHORTCUT_MAX ];
+    char **pp_shortcuts;
+    int    i_shortcuts;
 
     char    *psz_capability;                                 /**< Capability */
     int      i_score;                          /**< Score for the capability */