ハッシュ関数を共用体版にし、ラベルの範囲をプログラム内だけで有効に
[YACASL2.git] / include / casl2.h
index e68a24e..fde1207 100644 (file)
@@ -6,6 +6,7 @@
 #include <assert.h>
 #include <stdbool.h>
 #include <time.h>
+#include "hash.h"
 
 #define ARRAYSIZE(array) (sizeof(array)/sizeof(array[0]))
 
@@ -17,9 +18,6 @@ enum {
     DEFAULT_CLOCKS = 5000000, /* デフォルトのクロック周波数。COMET II規格では、未定義 */
 };
 
-/* ハッシュ値を取得する */
-unsigned hash(const char *key, int size);
-
 /* COMET IIの基本データサイズ */
 typedef unsigned short WORD;