From: tomo Date: Mon, 11 Feb 2002 07:14:53 +0000 (+0000) Subject: (CHARSET_BYTE_SIZE): Moved to char-ucs.h. X-Git-Tag: r21-2-44-lazy-n7c~133 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=024b895bd573ca81d00b011f55463880d0099a44;p=chise%2Fxemacs-chise.git- (CHARSET_BYTE_SIZE): Moved to char-ucs.h. (XCHARSET_BYTE_SIZE): Likewise. --- diff --git a/src/mule-charset.c b/src/mule-charset.c index 266cdb6..c7d09a7 100644 --- a/src/mule-charset.c +++ b/src/mule-charset.c @@ -176,20 +176,6 @@ const Bytecount rep_bytes_by_first_byte[0xA0] = #ifdef UTF2000 -INLINE_HEADER int CHARSET_BYTE_SIZE (Lisp_Charset* cs); -INLINE_HEADER int -CHARSET_BYTE_SIZE (Lisp_Charset* cs) -{ - /* ad-hoc method for `ascii' */ - if ((CHARSET_CHARS (cs) == 94) && - (CHARSET_BYTE_OFFSET (cs) != 33)) - return 128 - CHARSET_BYTE_OFFSET (cs); - else - return CHARSET_CHARS (cs); -} - -#define XCHARSET_BYTE_SIZE(ccs) CHARSET_BYTE_SIZE (XCHARSET (ccs)) - int decoding_table_check_elements (Lisp_Object v, int dim, int ccs_len); int decoding_table_check_elements (Lisp_Object v, int dim, int ccs_len)