X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=include%2Fstruct.h;h=ee5963425b8b29b25be94c759d843b213a097c7e;hp=c806e5785be23b3a7353d2c4e2a6bf338c658ea7;hb=7fbde1700bbe9d8f779033ad3b842d3dceb3e1c6;hpb=1708c99d4b6263863304d48ebca3b3473d6a0112 diff --git a/include/struct.h b/include/struct.h index c806e57..ee59634 100644 --- a/include/struct.h +++ b/include/struct.h @@ -149,16 +149,26 @@ void free_cmdtype_code(); /** * コードがキーの命令ハッシュ表を作成する */ -bool create_code_type(); +bool create_code_cmdtype(); /** * 命令コードから命令の関数ポインタを返す */ const void (*getcmdptr(WORD code)); +/** + * 命令コードから命令のタイプを返す + */ +CMDTYPE getcmdtype(WORD code); + +/** + * 命令コードから命令の名前を返す + */ +char *getcmdname(WORD code); + /** * コードがキーの命令ハッシュ表を解放する */ -void free_code_type(); +void free_code_cmdtype(); #endif /* YACASL2_CASL2_INCLUDEDの終端 */