diff options
Diffstat (limited to 'src-worddic/mem_dic.h')
-rw-r--r-- | src-worddic/mem_dic.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src-worddic/mem_dic.h b/src-worddic/mem_dic.h new file mode 100644 index 0000000..7ba7cb6 --- /dev/null +++ b/src-worddic/mem_dic.h @@ -0,0 +1,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 |