From: tomo Date: Sun, 5 Sep 1999 14:38:46 +0000 (+0000) Subject: (CHAR_MULTIBYTE_P): Moved from `mule-charset.h'. X-Git-Tag: r21-2-19-utf-2000-0_6-0~5 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=ab4f8653610e748769c1de8e64dbcd8fc7121db5;p=chise%2Fxemacs-chise.git (CHAR_MULTIBYTE_P): Moved from `mule-charset.h'. --- diff --git a/src/mb-multibyte.h b/src/mb-multibyte.h index 138b320..3d2aa08 100644 --- a/src/mb-multibyte.h +++ b/src/mb-multibyte.h @@ -38,6 +38,15 @@ Boston, MA 02111-1307, USA. */ #define BYTE_C1_P(c) ((unsigned int) ((unsigned int) (c) - 0x80) < 0x20) +/************************************************************************/ +/* Dealing with characters */ +/************************************************************************/ + +/* Is this character represented by more than one byte in a string? */ + +#define CHAR_MULTIBYTE_P(c) ((c) >= 0x80) + + /* ---------------------------------------------------------------------- */ /* (A) For working with charptr's (pointers to internally-formatted text) */ /* ---------------------------------------------------------------------- */