Mercurial > freewnn
comparison Wnn/include/jdata.h @ 1:790205f476c0
applied wnn_dec12.diff
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Thu, 13 Dec 2007 04:47:24 +0900 |
parents | bbc77ca4def5 |
children | b605a0e60f5b |
comparison
equal
deleted
inserted
replaced
0:bbc77ca4def5 | 1:790205f476c0 |
---|---|
34 #define WNN_JDATA_H | 34 #define WNN_JDATA_H |
35 | 35 |
36 #ifndef JS | 36 #ifndef JS |
37 struct jdata | 37 struct jdata |
38 { | 38 { |
39 int kanji1; | 39 UCHAR *kanji1; |
40 short kanji2; /* */ | 40 short kanji2; /* */ |
41 short which; /* gyaku henkan? */ | 41 short which; /* gyaku henkan? */ |
42 int serial; /* index is a serial number of the first | 42 int serial; /* index is a serial number of the first |
43 entry which is stored in this entry */ | 43 entry which is stored in this entry */ |
44 int kosuu; /* this means the number of elements in this | 44 int kosuu; /* this means the number of elements in this |
84 unsigned short *sisheng; | 84 unsigned short *sisheng; |
85 unsigned short sisheng_int; | 85 unsigned short sisheng_int; |
86 #endif | 86 #endif |
87 unsigned short *hinsi; /* bunpou data is stored here */ | 87 unsigned short *hinsi; /* bunpou data is stored here */ |
88 UCHAR *kanji; /* kanji data is stored here */ | 88 UCHAR *kanji; /* kanji data is stored here */ |
89 struct uind1 *table; /* anothe tablefile for user jisho */ | 89 struct uind1 *table; /* another tablefile for user jisho */ |
90 UCHAR *hontai; /* the tablefile (index-file) */ | 90 UCHAR *hontai; /* the tablefile (index-file) */ |
91 struct rind1 *ri1[2]; /* For Rev Dic */ | 91 struct rind1 *ri1[2]; /* For Rev Dic */ |
92 struct rind2 *ri2; /* For Rev Dic */ | 92 struct rind2 *ri2; /* For Rev Dic */ |
93 | 93 |
94 short dirty; | 94 short dirty; |
146 | 146 |
147 struct uind2 | 147 struct uind2 |
148 { | 148 { |
149 int next; /* pointer to uind2 */ | 149 int next; /* pointer to uind2 */ |
150 int serial; | 150 int serial; |
151 int kanjipter; | 151 long kanjipter; |
152 w_char kosuu; | 152 w_char kosuu; |
153 w_char yomi[1]; /* actually it is variable length */ | 153 w_char yomi[1]; /* actually it is variable length */ |
154 }; | 154 }; |
155 | 155 |
156 /* MAXTABLE MAX... ha user file no ookisani kuwaete touroku no tame | 156 /* MAXTABLE MAX... ha user file no ookisani kuwaete touroku no tame |
172 }; | 172 }; |
173 | 173 |
174 struct rind2 | 174 struct rind2 |
175 { | 175 { |
176 int next[2]; /* pointer to rind2 */ | 176 int next[2]; /* pointer to rind2 */ |
177 int kanjipter; | 177 long kanjipter; |
178 }; | 178 }; |
179 | 179 |
180 /* | 180 /* |
181 * Reverse Dict ni kansite, dotira wo hikuka? | 181 * Reverse Dict ni kansite, dotira wo hikuka? |
182 */ | 182 */ |