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