diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2009-02-07 16:32:56 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2009-02-07 16:32:56 +0000 |
commit | a7a06a7ccfe0af1e134357678b8fa6cf87dff3b0 (patch) | |
tree | a966aeee62e69ae3ad13275d07ddb15049b14e0e /src-worddic/mem_dic.h | |
download | anthy-a7a06a7ccfe0af1e134357678b8fa6cf87dff3b0.tar.gz |
anthy-9100hHEADanthy-9100hmaster
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 |