From: tomo Date: Thu, 11 Oct 2001 06:56:55 +0000 (+0000) Subject: (LEADING_BYTE_CBETA): New macro. X-Git-Tag: r21-2-41-utf-2000-0_18-1~273 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=de78e97bd26e6f25b1edf51835fce6a0d8301c1e;p=chise%2Fxemacs-chise.git.1 (LEADING_BYTE_CBETA): New macro. (MIN_CHAR_CBETA): New macro. (MAX_CHAR_CBETA): New macro. --- diff --git a/src/char-ucs.h b/src/char-ucs.h index 9a5e4ca..b57b7c9 100644 --- a/src/char-ucs.h +++ b/src/char-ucs.h @@ -130,9 +130,10 @@ typedef short Charset_ID; #define LEADING_BYTE_MOJIKYO_PJ_21 (CHARSET_ID_OFFSET - 71) #define LEADING_BYTE_JEF_CHINA3 (CHARSET_ID_OFFSET - 72) +#define LEADING_BYTE_CBETA (CHARSET_ID_OFFSET - 73) #define MIN_LEADING_BYTE_PRIVATE MIN_LEADING_BYTE -#define MAX_LEADING_BYTE_PRIVATE (CHARSET_ID_OFFSET - 73) +#define MAX_LEADING_BYTE_PRIVATE (CHARSET_ID_OFFSET - 74) /* #define CHARSET_ID_OFFSET_94 (CHARSET_ID_OFFSET - '0') */ @@ -448,7 +449,9 @@ CHARSET_BY_ATTRIBUTES (int chars, int dimension, int final, int dir) #define MIN_CHAR_GT 0x61000000 #define MAX_CHAR_GT (MIN_CHAR_GT + 66773) #define MIN_CHAR_JEF_CHINA3 0x62000000 -#define MAX_CHAR_JEF_CHINA3 (MIN_CHAR_JEF_CHINA3 + 65535) +#define MAX_CHAR_JEF_CHINA3 0x6200FFFF +#define MIN_CHAR_CBETA 0x62010000 +#define MAX_CHAR_CBETA 0x6201FFFF Emchar decode_builtin_char (Lisp_Object charset, int code_point);