From ab4f8653610e748769c1de8e64dbcd8fc7121db5 Mon Sep 17 00:00:00 2001 From: tomo Date: Sun, 5 Sep 1999 14:38:46 +0000 Subject: [PATCH] (CHAR_MULTIBYTE_P): Moved from `mule-charset.h'. --- src/mb-multibyte.h | 9 +++++++++ 1 file changed, 9 insertions(+) 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) */ /* ---------------------------------------------------------------------- */ -- 1.7.10.4