diff src/lisp.h @ 61684:f1c19da9ba19

(CHAR_TABLE_DEFAULT_SLOT_ASCII): New macro. (CHAR_TABLE_DEFAULT_SLOT_8_BIT_CONTROL): New macro. (CHAR_TABLE_DEFAULT_SLOT_8_BIT_GRAPHIC): New macro.
author Kenichi Handa <handa@m17n.org>
date Wed, 20 Apr 2005 07:49:35 +0000
parents 9af68ed35480
children 4a9b51620642 e1fbb019c538
line wrap: on
line diff
--- a/src/lisp.h	Wed Apr 20 07:37:03 2005 +0000
+++ b/src/lisp.h	Wed Apr 20 07:49:35 2005 +0000
@@ -720,6 +720,14 @@
    indexed by (charset-id + 128).  */
 #define CHAR_TABLE_ORDINARY_SLOTS 384
 
+/* These are the slot of the default values for single byte
+   characters.  As 0x9A is never be a charset-id, it is safe to use
+   that slot for ASCII.  0x9E and 0x80 are charset-ids of
+   eight-bit-control and eight-bit-graphic respectively.  */
+#define CHAR_TABLE_DEFAULT_SLOT_ASCII (0x9A + 128)
+#define CHAR_TABLE_DEFAULT_SLOT_8_BIT_CONTROL (0x9E + 128)
+#define CHAR_TABLE_DEFAULT_SLOT_8_BIT_GRAPHIC (0x80 + 128)
+
 /* This is the number of slots that apply to characters of ASCII and
    8-bit Europeans only.  */
 #define CHAR_TABLE_SINGLE_BYTE_SLOTS 256