# HG changeset patch # User Kenichi Handa # Date 1113983375 0 # Node ID f1c19da9ba199fb434e29622e5edd17bbc20813d # Parent 589380e2abb7fc8daf251c5ba89d82bb307a7745 (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. diff -r 589380e2abb7 -r f1c19da9ba19 src/lisp.h --- 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