-/* Header for UTF-8 buffer/string representation.
+/* Header for UTF-8 string representation.
Copyright (C) 1999 Electrotechnical Laboratory, JAPAN.
Licensed to the Free Software Foundation.
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* Rewritten by MORIOKA Tomohiko <tomo@m17n.org>. */
+/* Author: MORIOKA Tomohiko <tomo@m17n.org>. */
#ifndef _XEMACS_MB_UTF_8_H
#define _XEMACS_MB_UTF_8_H
/* Does this byte represent the first byte of a character? */
-INLINE int
+INLINE_HEADER int BUFBYTE_FIRST_BYTE_P(Bufbyte c);
+INLINE_HEADER int
BUFBYTE_FIRST_BYTE_P(Bufbyte c)
{
return (c <= 0x7f) || (0xc0 <= c);
#define CHAR_MULTIBYTE_P(c) ((c) >= 0x80)
-INLINE int REP_BYTES_BY_FIRST_BYTE (int fb);
-INLINE int
+INLINE_HEADER int REP_BYTES_BY_FIRST_BYTE (int fb);
+INLINE_HEADER int
REP_BYTES_BY_FIRST_BYTE (int fb)
{
if ( fb < 0xc0 )
return 6;
}
+
+#include "mb-multibyte.h"
+
#endif /* _XEMACS_MB_UTF_8_H */