From: tomo Date: Sun, 5 Sep 1999 14:38:06 +0000 (+0000) Subject: (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h. X-Git-Tag: r21-2-19-utf-2000-0_6-0~6 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=b3727f34192d276b33c4405e569944899133fbc0;p=chise%2Fxemacs-chise.git (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h. (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'. --- diff --git a/src/mule-charset.h b/src/mule-charset.h index 1fab443..a8dcad9 100644 --- a/src/mule-charset.h +++ b/src/mule-charset.h @@ -602,11 +602,7 @@ REP_BYTES_BY_FIRST_BYTE (int fb) /* Dealing with characters */ /************************************************************************/ -/* Is this character represented by more than one byte in a string? */ - -#define CHAR_MULTIBYTE_P(c) ((c) >= 0x80) - -#define CHAR_ASCII_P(c) (!CHAR_MULTIBYTE_P (c)) +#define CHAR_ASCII_P(ch) ((ch) <= 0x7F) /* The bit fields of character are divided into 3 parts: FIELD1(5bits):FIELD2(7bits):FIELD3(7bits) */