X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=include%2Fstruct.h;fp=include%2Fstruct.h;h=0825ac19965520ecea797b8d67adac784d48ae58;hp=ec4f52b76d1285846371ad7092e8aa8cf43d9bf5;hb=4aaa5bc19f9fe9f0bb22d2854e91d0b9f78d8708;hpb=539d2aa8319c65bd9782de8782deb45fae28243c diff --git a/include/struct.h b/include/struct.h index ec4f52b..0825ac1 100644 --- a/include/struct.h +++ b/include/struct.h @@ -151,10 +151,10 @@ void free_cmdtype_code(); bool create_code_type(); /** - * 命令コードから命令タイプを返す - * 無効な場合はNONEを返す + * 命令コードから命令を返す + * 命令コードでない場合はNULLを返す */ -CMDTYPE getcmdtype(WORD code); +CMD *getcmd(WORD code); /** * 命令コードから命令の関数ポインタを返す