From 33f91981f796c45cdc4b059011dc058e7cd3ffbc Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 12 Apr 2004 05:56:40 +0000 Subject: [PATCH] *** empty log message *** --- src/ChangeLog.22 | 5 +++++ src/character.c | 12 ++++++++++++ 2 files changed, 17 insertions(+) diff --git a/src/ChangeLog.22 b/src/ChangeLog.22 index d3ef77a4012..d914f698a10 100644 --- a/src/ChangeLog.22 +++ b/src/ChangeLog.22 @@ -1,3 +1,8 @@ +2004-04-12 Kenichi Handa + + * character.h (LEADING_CODE_LATIN_1_MIN) + (LEADING_CODE_LATIN_1_MAX): Delete these macros. + 2004-04-08 Kenichi Handa * category.h: Sync to HEAD. diff --git a/src/character.c b/src/character.c index 13a2da0ddbd..cec313e24a4 100644 --- a/src/character.c +++ b/src/character.c @@ -59,6 +59,8 @@ Lisp_Object Vauto_fill_chars; Lisp_Object Qauto_fill_chars; +/* Char-table of information about which character to unify to which + Unicode character. */ Lisp_Object Vchar_unify_table; /* A char-table. An element is non-nil iff the corresponding @@ -86,6 +88,9 @@ int unibyte_to_multibyte_table[256]; +/* Store multibyte form of character C at P. If C has modifier bits, + handle them appropriately. */ + int char_string (c, p) int c; @@ -167,6 +172,13 @@ char_string (c, p) } +/* Return a character whose multibyte form is at P. Set LEN is not + NULL, it must be a pointer to integer. In that case, set *LEN to + the byte length of the multibyte form. If ADVANCED is not NULL, is + must be a pointer to unsigned char. In that case, set *ADVANCED to + the ending address (i.e. the starting address of the next + character) of the multibyte form. */ + int string_char (p, advanced, len) const unsigned char *p;