X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=include%2Fcasl2.h;h=3d602c4a4b082738306b4693cb06f2b71261e613;hb=42426ae7769b50b3828c14cff716973b677bbb3e;hp=23607fd90c06443aa0aac9057f967d8be5802bd7;hpb=e24285f0509319319aef28a188b7c01ba7e22bf1;p=YACASL2.git diff --git a/include/casl2.h b/include/casl2.h index 23607fd..3d602c4 100644 --- a/include/casl2.h +++ b/include/casl2.h @@ -78,15 +78,16 @@ typedef enum { NONE = 0, } CMDTYPE; -extern int cmdcodesize; - -/* 命令コードの配列 */ +/* 命令コード配列 */ typedef struct { char *cmd; CMDTYPE type; WORD code; } CMDCODEARRAY; +/* 命令コード配列のサイズ */ +extern int cmdcodesize; + /* 命令コードのハッシュ表 */ typedef struct _CMDCODETAB { struct _CMDCODETAB *next; @@ -95,6 +96,7 @@ typedef struct _CMDCODETAB { extern CMDCODETAB **cmdtype_code; extern CMDCODETAB **code_type; +extern int cmdtabsize; /* 命令と命令タイプがキーのハッシュ表を作成する */ bool create_cmdtype_code();