From c12e4565febaec653c6a23a96ee6fd7512836801 Mon Sep 17 00:00:00 2001 From: tomo Date: Thu, 2 Sep 1999 21:50:56 +0000 Subject: [PATCH] Include character unconditionally. (valid_char_p): Moved to char-*.h. (non_ascii_valid_char_p): Moved to char-lb.h. --- src/buffer.h | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/buffer.h b/src/buffer.h index 55a7514..0f73404 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -32,15 +32,12 @@ Boston, MA 02111-1307, USA. */ #ifndef _XEMACS_BUFFER_H_ #define _XEMACS_BUFFER_H_ -#ifdef MULE #include "character.h" #ifdef UTF2000 #include "mb-utf-8.h" #endif -#endif - /************************************************************************/ /* */ /* definition of Lisp buffer object */ @@ -544,27 +541,6 @@ charptr_copy_char (CONST Bufbyte *ptr, Bufbyte *ptr2) /* (D) For working with Emchars */ /* ---------------------------- */ -#ifdef MULE - -#ifdef UTF2000 -#define valid_char_p(ch) 1 -#else -int non_ascii_valid_char_p (Emchar ch); - -INLINE int valid_char_p (Emchar ch); -INLINE int -valid_char_p (Emchar ch) -{ - return ((unsigned int) (ch) <= 0xff) || non_ascii_valid_char_p (ch); -} -#endif - -#else /* not MULE */ - -#define valid_char_p(ch) ((unsigned int) (ch) <= 0xff) - -#endif /* not MULE */ - #define CHAR_INTP(x) (INTP (x) && valid_char_p (XINT (x))) #define CHAR_OR_CHAR_INTP(x) (CHARP (x) || CHAR_INTP (x)) -- 1.7.10.4