File: mem_dic.h

package info (click to toggle)
anthy 6300d-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 7,400 kB
  • ctags: 2,270
  • sloc: ansic: 17,009; sh: 13,554; lisp: 1,039; makefile: 252; ruby: 212; perl: 10
file content (22 lines) | stat: -rw-r--r-- 513 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _mem_dic_h_included_
#define _mem_dic_h_included_

#include "dic_ent.h"


#define HASH_SIZE 64 /*ϥåơ֥Υ64(ʤȤʤ)*/

/** 꼭 */
struct mem_dic {
  struct seq_ent *seq_ent_hash[HASH_SIZE];
  struct dic_ent *dic_ent_hash[HASH_SIZE];
  struct dic_session sessions[MAX_SESSION];
  allocator seq_ent_allocator;
  allocator dic_ent_allocator;
  allocator compound_ent_allocator;
};

/*ޥѤ*/
void anthy_invalidate_seq_ent_mask(struct mem_dic * ,int mask);

#endif