# HG changeset patch # User Kenichi Handa # Date 1097806171 0 # Node ID 1987dfad4543145b2183131ed861348b695f2b20 # Parent 49e1148db0d3e5b93da6799555b262c0f45c96e1 (unibyte_has_multibyte_table): Extern it. (UNIBYTE_CHAR_HAS_MULTIBYTE_P): New macro. diff -r 49e1148db0d3 -r 1987dfad4543 src/character.h --- a/src/character.h Thu Oct 14 12:36:25 2004 +0000 +++ b/src/character.h Fri Oct 15 02:09:31 2004 +0000 @@ -77,6 +77,12 @@ #define unibyte_char_to_multibyte(c) \ ((c) < 256 ? unibyte_to_multibyte_table[(c)] : (c)) +/* Nth element is 1 iff unibyte char N can be mapped to a multibyte + char. */ +extern char unibyte_has_multibyte_table[256]; + +#define UNIBYTE_CHAR_HAS_MULTIBYTE_P(c) (unibyte_has_multibyte_table[(c)]) + /* If C is not ASCII, make it unibyte. */ #define MAKE_CHAR_UNIBYTE(c) \ do { \