From a7a06a7ccfe0af1e134357678b8fa6cf87dff3b0 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Sat, 7 Feb 2009 16:32:56 +0000 Subject: anthy-9100h --- src-worddic/mem_dic.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src-worddic/mem_dic.h (limited to 'src-worddic/mem_dic.h') 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 +#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 -- cgit v1.2.1