projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ヘッダーファイル呼び出しの整理
[YACASL2.git]
/
include
/
struct.h
diff --git
a/include/struct.h
b/include/struct.h
index
54a2418
..
9064d5f
100644
(file)
--- a/
include/struct.h
+++ b/
include/struct.h
@@
-1,8
+1,13
@@
#ifndef YACASL2_CASL2_INCLUDED
#define YACASL2_CASL2_INCLUDED
#ifndef YACASL2_CASL2_INCLUDED
#define YACASL2_CASL2_INCLUDED
+#include <stdio.h>
+#include <assert.h>
+#include <string.h>
#include <time.h>
#include "word.h"
#include <time.h>
#include "word.h"
+#include "cmem.h"
+#include "hash.h"
/**
* @brief COMET IIの規格値
/**
* @brief COMET IIの規格値
@@
-156,6
+161,16
@@
bool create_code_cmdtype();
*/
const void (*getcmdptr(WORD code));
*/
const void (*getcmdptr(WORD code));
+/**
+ * 命令コードから命令のタイプを返す
+ */
+CMDTYPE getcmdtype(WORD code);
+
+/**
+ * 命令コードから命令の名前を返す
+ */
+char *getcmdname(WORD code);
+
/**
* コードがキーの命令ハッシュ表を解放する
*/
/**
* コードがキーの命令ハッシュ表を解放する
*/