(CHAR_MULTIBYTE_P): Moved from `mule-charset.h'.
authortomo <tomo>
Sun, 5 Sep 1999 14:38:46 +0000 (14:38 +0000)
committertomo <tomo>
Sun, 5 Sep 1999 14:38:46 +0000 (14:38 +0000)
src/mb-multibyte.h

index 138b320..3d2aa08 100644 (file)
@@ -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) */
 /* ---------------------------------------------------------------------- */