Mercurial > emacs
comparison src/charset.h @ 88677:61f981fb213a
(sturct define_charset_arg_index): New enums charset_arg_min_code and
charset_arg_max_code.
(struct charset): New member char_index_offset.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 30 May 2002 00:26:21 +0000 |
parents | 47c2e6825a1e |
children | e2170fdb6abc |
comparison
equal
deleted
inserted
replaced
88676:c2cfbd45c02f | 88677:61f981fb213a |
---|---|
31 enum define_charset_arg_index | 31 enum define_charset_arg_index |
32 { | 32 { |
33 charset_arg_name, | 33 charset_arg_name, |
34 charset_arg_dimension, | 34 charset_arg_dimension, |
35 charset_arg_code_space, | 35 charset_arg_code_space, |
36 charset_arg_min_code, | |
37 charset_arg_max_code, | |
36 charset_arg_iso_final, | 38 charset_arg_iso_final, |
37 charset_arg_iso_revision, | 39 charset_arg_iso_revision, |
38 charset_arg_emacs_mule_id, | 40 charset_arg_emacs_mule_id, |
39 charset_arg_ascii_compatible_p, | 41 charset_arg_ascii_compatible_p, |
40 charset_arg_supplementary_p, | 42 charset_arg_supplementary_p, |
177 /* The method for encoding/decoding characters of the charset. */ | 179 /* The method for encoding/decoding characters of the charset. */ |
178 enum charset_method method; | 180 enum charset_method method; |
179 | 181 |
180 /* Mininum and Maximum code points of the charset. */ | 182 /* Mininum and Maximum code points of the charset. */ |
181 unsigned min_code, max_code; | 183 unsigned min_code, max_code; |
184 | |
185 /* Offset value used by macros CODE_POINT_TO_INDEX and | |
186 INDEX_TO_CODE_POINT. . */ | |
187 unsigned char_index_offset; | |
182 | 188 |
183 /* Mininum and Maximum character codes of the charset. If the | 189 /* Mininum and Maximum character codes of the charset. If the |
184 charset is compatible with ASCII, min_char is a minimum non-ASCII | 190 charset is compatible with ASCII, min_char is a minimum non-ASCII |
185 character of the charset. */ | 191 character of the charset. */ |
186 int min_char, max_char; | 192 int min_char, max_char; |