YACASL2
Loading...
Searching...
No Matches
hash.h
Go to the documentation of this file.
1#ifndef YACASL2_HASH_H_INCLUDED
2#define YACASL2_HASH_H_INCLUDED
3
7typedef enum {
8 CHARS = 0,
9 INT = 1,
10} UTYPE;
11
15typedef struct {
17 union {
18 char *s;
19 int i;
20 } val;
21} HKEY;
22
32unsigned hash(int keyc, HKEY *keyv[], int tabsize);
33
34#endif
UTYPE
ハッシュ共用体の数値
Definition hash.h:7
@ CHARS
Definition hash.h:8
@ INT
Definition hash.h:9
unsigned hash(int keyc, HKEY *keyv[], int tabsize)
ハッシュ値を取得する
Definition hash.c:3
ハッシュ共用体のデータ型
Definition hash.h:15
char * s
Definition hash.h:18
UTYPE type
Definition hash.h:16
int i
Definition hash.h:19