From: tomo Date: Tue, 4 Dec 2001 11:30:01 +0000 (+0000) Subject: (LEADING_BYTE_UCS_SMP): New macro. X-Git-Tag: r21-2-43-utf-2000-0_18-3~174 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa05c7cbbccd4caf9db7ba90944deca5a84b27f8;p=chise%2Fxemacs-chise.git (LEADING_BYTE_UCS_SMP): New macro. (LEADING_BYTE_UCS_SIP): New macro. (MIN_CHAR_SMP): New macro. (MAX_CHAR_SMP): New macro. (MIN_CHAR_SIP): New macro. (MAX_CHAR_SIP): New macro. --- diff --git a/src/char-ucs.h b/src/char-ucs.h index d8768c6..5087c10 100644 --- a/src/char-ucs.h +++ b/src/char-ucs.h @@ -53,14 +53,20 @@ typedef short Charset_ID; /* ISO/IEC 10646 BMP */ #define LEADING_BYTE_UCS_BMP (CHARSET_ID_OFFSET - 3) +/* ISO/IEC 10646 SMP */ +#define LEADING_BYTE_UCS_SMP (CHARSET_ID_OFFSET - 4) + +/* ISO/IEC 10646 SIP */ +#define LEADING_BYTE_UCS_SIP (CHARSET_ID_OFFSET - 5) + /* ISO/IEC 10646 for CNS */ -#define LEADING_BYTE_UCS_CNS (CHARSET_ID_OFFSET - 5) +#define LEADING_BYTE_UCS_CNS (CHARSET_ID_OFFSET - 6) /* ISO/IEC 10646 for JIS */ -#define LEADING_BYTE_UCS_JIS (CHARSET_ID_OFFSET - 6) +#define LEADING_BYTE_UCS_JIS (CHARSET_ID_OFFSET - 7) /* ISO/IEC 10646 for KS */ -#define LEADING_BYTE_UCS_KS (CHARSET_ID_OFFSET - 7) +#define LEADING_BYTE_UCS_KS (CHARSET_ID_OFFSET - 8) /* ISO/IEC 10646 for Big5 */ #define LEADING_BYTE_UCS_BIG5 (CHARSET_ID_OFFSET - 9) @@ -448,6 +454,12 @@ CHARSET_BY_ATTRIBUTES (int chars, int dimension, int final, int dir) #define MAX_CHAR_BMP 0x00FFFF +#define MIN_CHAR_SMP 0x010000 +#define MAX_CHAR_SMP 0x01FFFF + +#define MIN_CHAR_SIP 0x020000 +#define MAX_CHAR_SIP 0x02FFFF + #define MIN_CHAR_DAIKANWA 0x00E00000 #define MAX_CHAR_DAIKANWA (MIN_CHAR_DAIKANWA + 50100) /* 0xE0FFFF */ /*