projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
バージョンをv0.3p5に
[YACASL2.git]
/
include
/
struct.h
diff --git
a/include/struct.h
b/include/struct.h
index
c806e57
..
ee59634
100644
(file)
--- a/
include/struct.h
+++ b/
include/struct.h
@@
-149,16
+149,26
@@
void free_cmdtype_code();
/**
* コードがキーの命令ハッシュ表を作成する
*/
/**
* コードがキーの命令ハッシュ表を作成する
*/
-bool create_code_type();
+bool create_code_
cmd
type();
/**
* 命令コードから命令の関数ポインタを返す
*/
const void (*getcmdptr(WORD code));
/**
* 命令コードから命令の関数ポインタを返す
*/
const void (*getcmdptr(WORD code));
+/**
+ * 命令コードから命令のタイプを返す
+ */
+CMDTYPE getcmdtype(WORD code);
+
+/**
+ * 命令コードから命令の名前を返す
+ */
+char *getcmdname(WORD code);
+
/**
* コードがキーの命令ハッシュ表を解放する
*/
/**
* コードがキーの命令ハッシュ表を解放する
*/
-void free_code_type();
+void free_code_
cmd
type();
#endif /* YACASL2_CASL2_INCLUDEDの終端 */
#endif /* YACASL2_CASL2_INCLUDEDの終端 */