comparison 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
comparison
equal deleted inserted replaced
61683:589380e2abb7 61684:f1c19da9ba19
717 sets. The first 128 are for ASCII, the next 128 are for 8-bit 717 sets. The first 128 are for ASCII, the next 128 are for 8-bit
718 European characters, and the last 128 are for multibyte characters. 718 European characters, and the last 128 are for multibyte characters.
719 The first 256 are indexed by the code itself, but the last 128 are 719 The first 256 are indexed by the code itself, but the last 128 are
720 indexed by (charset-id + 128). */ 720 indexed by (charset-id + 128). */
721 #define CHAR_TABLE_ORDINARY_SLOTS 384 721 #define CHAR_TABLE_ORDINARY_SLOTS 384
722
723 /* These are the slot of the default values for single byte
724 characters. As 0x9A is never be a charset-id, it is safe to use
725 that slot for ASCII. 0x9E and 0x80 are charset-ids of
726 eight-bit-control and eight-bit-graphic respectively. */
727 #define CHAR_TABLE_DEFAULT_SLOT_ASCII (0x9A + 128)
728 #define CHAR_TABLE_DEFAULT_SLOT_8_BIT_CONTROL (0x9E + 128)
729 #define CHAR_TABLE_DEFAULT_SLOT_8_BIT_GRAPHIC (0x80 + 128)
722 730
723 /* This is the number of slots that apply to characters of ASCII and 731 /* This is the number of slots that apply to characters of ASCII and
724 8-bit Europeans only. */ 732 8-bit Europeans only. */
725 #define CHAR_TABLE_SINGLE_BYTE_SLOTS 256 733 #define CHAR_TABLE_SINGLE_BYTE_SLOTS 256
726 734