changeset 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 c2cfbd45c02f
children 7e7e9519784d
files src/charset.h
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/charset.h	Thu May 30 00:25:31 2002 +0000
+++ b/src/charset.h	Thu May 30 00:26:21 2002 +0000
@@ -33,6 +33,8 @@
     charset_arg_name,
     charset_arg_dimension,
     charset_arg_code_space,
+    charset_arg_min_code,
+    charset_arg_max_code,
     charset_arg_iso_final,
     charset_arg_iso_revision,
     charset_arg_emacs_mule_id,
@@ -180,6 +182,10 @@
   /* Mininum and Maximum code points of the charset.  */
   unsigned min_code, max_code;
 
+  /* Offset value used by macros CODE_POINT_TO_INDEX and
+      INDEX_TO_CODE_POINT. .  */
+  unsigned char_index_offset;
+
   /* Mininum and Maximum character codes of the charset.  If the
      charset is compatible with ASCII, min_char is a minimum non-ASCII
      character of the charset.  */