changeset 90791:0603ad3252c9

(MIN_MULTIBYTE_LEADING_CODE) (MAX_MULTIBYTE_LEADING_CODE): New macros.
author Kenichi Handa <handa@m17n.org>
date Fri, 23 Mar 2007 05:45:00 +0000
parents 385c9b28d8a7
children e8573c9233d0
files src/character.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/character.h	Fri Mar 23 05:44:14 2007 +0000
+++ b/src/character.h	Fri Mar 23 05:45:00 2007 +0000
@@ -52,6 +52,11 @@
 #define MAX_4_BYTE_CHAR 0x1FFFFF
 #define MAX_5_BYTE_CHAR 0x3FFF7F
 
+/* Minimum leading code of multibyte characters.  */
+#define MIN_MULTIBYTE_LEADING_CODE 0xC0
+/* Maximum leading code of multibyte characters.  */
+#define MAX_MULTIBYTE_LEADING_CODE 0xF8
+
 /* Nonzero iff C is a character that corresponds to a raw 8-bit
    byte.  */
 #define CHAR_BYTE8_P(c) ((c) > MAX_5_BYTE_CHAR)