exec.cを一部変更
[YACASL2.git] / include / struct.h
index ec4f52b..0825ac1 100644 (file)
@@ -151,10 +151,10 @@ void free_cmdtype_code();
 bool create_code_type();
 
 /**
- * å\91½ä»¤ã\82³ã\83¼ã\83\89ã\81\8bã\82\89å\91½ä»¤ã\82¿ã\82¤ã\83\97ã\82\92è¿\94ã\81\99
- * 無効な場合はNONEを返す
+ * 命令コードから命令を返す
+ * 命令コードでない場合はNULLを返す
  */
-CMDTYPE getcmdtype(WORD code);
+CMD *getcmd(WORD code);
 
 /**
  * 命令コードから命令の関数ポインタを返す