projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(find_charsets_in_charc_string): New prototype; delete
[chise/xemacs-chise.git-]
/
src
/
mb-utf-8.h
diff --git
a/src/mb-utf-8.h
b/src/mb-utf-8.h
index
1bd1a80
..
a683e7a
100644
(file)
--- a/
src/mb-utf-8.h
+++ b/
src/mb-utf-8.h
@@
-1,4
+1,4
@@
-/* 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.
Copyright (C) 1999 Electrotechnical Laboratory, JAPAN.
Licensed to the Free Software Foundation.
@@
-19,7
+19,7
@@
along with XEmacs; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
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
#ifndef _XEMACS_MB_UTF_8_H
#define _XEMACS_MB_UTF_8_H
@@
-36,7
+36,8
@@
Boston, MA 02111-1307, USA. */
/* Does this byte represent the first byte of a character? */
/* 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);
BUFBYTE_FIRST_BYTE_P(Bufbyte c)
{
return (c <= 0x7f) || (0xc0 <= c);
@@
-52,8
+53,8
@@
BUFBYTE_FIRST_BYTE_P(Bufbyte c)
#define CHAR_MULTIBYTE_P(c) ((c) >= 0x80)
#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 )
REP_BYTES_BY_FIRST_BYTE (int fb)
{
if ( fb < 0xc0 )
@@
-70,4
+71,7
@@
REP_BYTES_BY_FIRST_BYTE (int fb)
return 6;
}
return 6;
}
+
+#include "mb-multibyte.h"
+
#endif /* _XEMACS_MB_UTF_8_H */
#endif /* _XEMACS_MB_UTF_8_H */