]> git.sesse.net Git - vlc/blobdiff - src/modules/modules.h
Revert "Modules: use a dynamic array for the shortcuts (this save 40K of memory on...
[vlc] / src / modules / modules.h
index 4d042808d25d1ee26cf06126165e747d7bbf2a69..039cefa301f595e47fc01a2c1618d2306938180c 100644 (file)
@@ -100,10 +100,6 @@ struct module_t
     module_t   *submodule;
     unsigned    submodule_count;
 
-    /** Shortcuts to the module */
-    int    i_shortcuts;
-    char **pp_shortcuts;
-
     /*
      * Variables set by the module to identify itself
      */
@@ -111,6 +107,9 @@ struct module_t
     char *psz_longname;                   /**< Module descriptive name */
     char *psz_help;        /**< Long help string for "special" modules */
 
+    /** Shortcuts to the module */
+    char *pp_shortcuts[ MODULE_SHORTCUT_MAX ];
+
     char    *psz_capability;                                 /**< Capability */
     int      i_score;                          /**< Score for the capability */