X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fmb-multibyte.h;h=3d2aa08e15b705e953f08ec46e64d4b7b54ed278;hb=4082f470d7c6075a5c04c1bdf6e9e3f27c9700d5;hp=138b320118e017e3f0bd3402acbd1470f27955c7;hpb=47733ea6e26ac34a9cd5b980c74774ef2a4c5a63;p=chise%2Fxemacs-chise.git- 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) */ /* ---------------------------------------------------------------------- */