]> git.eshelyaron.com Git - emacs.git/commitdiff
(sturct define_charset_arg_index): New enums charset_arg_min_code and
authorKenichi Handa <handa@m17n.org>
Thu, 30 May 2002 00:26:21 +0000 (00:26 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 30 May 2002 00:26:21 +0000 (00:26 +0000)
charset_arg_max_code.
(struct charset): New member char_index_offset.

src/charset.h

index 4a21d8e2d81720af8acf1f969928d0bf9505f245..051dbcb714271c611a4cfa814ed335f19bbbc9ab 100644 (file)
@@ -33,6 +33,8 @@ enum define_charset_arg_index
     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 @@ struct charset
   /* 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.  */