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