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
/
casl2.h
diff --git
a/include/casl2.h
b/include/casl2.h
index
e68a24e
..
fde1207
100644
(file)
--- a/
include/casl2.h
+++ b/
include/casl2.h
@@
-6,6
+6,7
@@
#include <assert.h>
#include <stdbool.h>
#include <time.h>
#include <assert.h>
#include <stdbool.h>
#include <time.h>
+#include "hash.h"
#define ARRAYSIZE(array) (sizeof(array)/sizeof(array[0]))
#define ARRAYSIZE(array) (sizeof(array)/sizeof(array[0]))
@@
-17,9
+18,6
@@
enum {
DEFAULT_CLOCKS = 5000000, /* デフォルトのクロック周波数。COMET II規格では、未定義 */
};
DEFAULT_CLOCKS = 5000000, /* デフォルトのクロック周波数。COMET II規格では、未定義 */
};
-/* ハッシュ値を取得する */
-unsigned hash(const char *key, int size);
-
/* COMET IIの基本データサイズ */
typedef unsigned short WORD;
/* COMET IIの基本データサイズ */
typedef unsigned short WORD;