projects
/
YACASL2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
16f02b2798c780b9f103a8a8c41c61c3dbce2be6
[YACASL2.git]
/
include
/
hash.h
1
/* ハッシュ共用体の型 */
2
typedef enum {
3
CHARS = 0,
4
INT = 1,
5
} UTYPE;
6
7
/* ハッシュ共用体 */
8
typedef struct {
9
UTYPE type;
10
union {
11
char *s;
12
int i;
13
} val;
14
} HKEY;
15
16
/* ハッシュ値を取得する */
17
unsigned hash(int keyc, HKEY *keyv[], int tabsize);