From: tomo Date: Thu, 2 Sep 1999 21:50:56 +0000 (+0000) Subject: Include character unconditionally. X-Git-Tag: r21-2-19-utf-2000-0_6-0~34 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c12e4565febaec653c6a23a96ee6fd7512836801;p=chise%2Fxemacs-chise.git Include character unconditionally. (valid_char_p): Moved to char-*.h. (non_ascii_valid_char_p): Moved to char-lb.h. --- 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))