changeset 20257:7ba68c0e1bee

(ASCII_BYTE_P): New macro.
author Karl Heuer <kwzh@gnu.org>
date Sat, 15 Nov 1997 20:23:21 +0000
parents f75208097eb5
children ebebe05191b4
files src/charset.h
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/charset.h	Sat Nov 15 20:22:20 1997 +0000
+++ b/src/charset.h	Sat Nov 15 20:23:21 1997 +0000
@@ -250,6 +250,9 @@
 /* 1 if C is an composite character, else 0.  */
 #define COMPOSITE_CHAR_P(c) ((c) >= MIN_CHAR_COMPOSITION)
 
+/* 1 if BYTE is a character in itself, in multibyte mode.  */
+#define ASCII_BYTE_P(byte) ((byte) < 0x80)
+
 /* A char-table containing information of each character set.
 
    Unlike ordinary char-tables, this doesn't contain any nested table.