From: tomo Date: Fri, 3 Sep 1999 22:57:05 +0000 (+0000) Subject: (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h. X-Git-Tag: r21-2-19-utf-2000-0_6-0~18 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=283ffeef62871f7ed9f5168953d6e8de77129f76;p=chise%2Fxemacs-chise.git- (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h. --- diff --git a/src/char-ucs.h b/src/char-ucs.h index b74231c..5b413d9 100644 --- a/src/char-ucs.h +++ b/src/char-ucs.h @@ -297,24 +297,6 @@ CHARSET_BY_LEADING_BYTE (Charset_ID lb) #define CHARSET_BY_ATTRIBUTES(type, final, dir) \ (charset_by_attributes[type][final]) -INLINE int REP_BYTES_BY_FIRST_BYTE (int fb); -INLINE int -REP_BYTES_BY_FIRST_BYTE (int fb) -{ - if ( fb < 0xc0 ) - return 1; - else if ( fb < 0xe0 ) - return 2; - else if ( fb < 0xf0 ) - return 3; - else if ( fb < 0xf8 ) - return 4; - else if ( fb < 0xfc ) - return 5; - else - return 6; -} - /************************************************************************/ /* Dealing with characters */