blob: 7ba7cb620b034f802c6f82480a306ecbc586b5f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef _mem_dic_h_included_
#define _mem_dic_h_included_
#include <anthy/alloc.h>
#include "dic_ent.h"
#define HASH_SIZE 64 /*ハッシュテーブルのサイズ…64(なんとなく)*/
/** メモリ辞書 */
struct mem_dic {
struct seq_ent *seq_ent_hash[HASH_SIZE];
allocator seq_ent_allocator;
allocator dic_ent_allocator;
};
#endif
|