X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=include%2Fcasl2.h;h=5d21418d6b5bd1534dc415245f57f9266f86ad2b;hp=96363ea5ce2e2b219ba9020ab829b5f5c113bbe7;hb=47d2bb9e2d85d05aa87484aad833f03850232a78;hpb=00d4ba02d732a0ff14c402bddc14c713c9b392d8 diff --git a/include/casl2.h b/include/casl2.h index 96363ea..5d21418 100644 --- a/include/casl2.h +++ b/include/casl2.h @@ -78,23 +78,28 @@ 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; CMDCODEARRAY *cca; } CMDCODETAB; -extern CMDCODETAB *cmdtype_code[]; -extern CMDCODETAB *code_type[]; +extern CMDCODETAB **cmdtype_code; +extern CMDCODETAB **code_type; +extern int cmdtabsize; + +/* COMET II仮想マシンのリセット */ +void reset(); /* 命令と命令タイプがキーのハッシュ表を作成する */ bool create_cmdtype_code();