Mercurial > hg > xemacs-beta
diff src/mule-charset.h @ 78:c7528f8e288d r20-0b34
Import from CVS: tag r20-0b34
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:05:42 +0200 |
parents | 54cc21c15cbb |
children | 3d6bfa290dbd |
line wrap: on
line diff
--- a/src/mule-charset.h Mon Aug 13 09:05:11 2007 +0200 +++ b/src/mule-charset.h Mon Aug 13 09:05:42 2007 +0200 @@ -505,19 +505,9 @@ #define CHARSET_CCL_PROGRAM(cs) ((cs)->ccl_program) #define CHARSET_REVERSE_DIRECTION_CHARSET(cs) ((cs)->reverse_direction_charset) -INLINE int -CHARSET_DIMENSION (struct Lisp_Charset *cs) -{ - /* Optimized using inside knowledge of CHARSET_TYPE values */ - return (CHARSET_TYPE (cs) <= CHARSET_TYPE_96) ? 1 : 2; -} - -INLINE int -CHARSET_CHARS (struct Lisp_Charset *cs) -{ - /* Optimized using inside knowledge of CHARSET_TYPE values */ - return (CHARSET_TYPE (cs) & 0x1) ? 96 : 94; -} +/* Optimized using inside knowledge of CHARSET_TYPE values */ +#define CHARSET_DIMENSION(cs) ((CHARSET_TYPE (cs) <= CHARSET_TYPE_96) ? 1 : 2) +#define CHARSET_CHARS(cs) ((CHARSET_TYPE (cs) & 0x1) ? 96 : 94) #define CHARSET_PRIVATE_P(cs) LEADING_BYTE_PRIVATE_P (CHARSET_LEADING_BYTE (cs))