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