コマンドハッシュ表を複数回作成していた構造バグを修正
[YACASL2.git] / include / casl2.h
index 7cd937c..23607fd 100644 (file)
@@ -78,6 +78,8 @@ typedef enum {
     NONE = 0,
 } CMDTYPE;
 
+extern int cmdcodesize;
+
 /* 命令コードの配列 */
 typedef struct {
     char *cmd;
@@ -91,6 +93,9 @@ typedef struct _CMDCODETAB {
     CMDCODEARRAY *cca;
 } CMDCODETAB;
 
+extern CMDCODETAB **cmdtype_code;
+extern CMDCODETAB **code_type;
+
 /* 命令と命令タイプがキーのハッシュ表を作成する */
 bool create_cmdtype_code();