diff options
| author | Kenichi Handa | 2004-04-12 05:56:40 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2004-04-12 05:56:40 +0000 |
| commit | 33f91981f796c45cdc4b059011dc058e7cd3ffbc (patch) | |
| tree | c88c51f9b40dfc7ef2660812345be21cff82a99f /src | |
| parent | b583ceadde109eab321801cb1b508090b49865ad (diff) | |
| download | emacs-33f91981f796c45cdc4b059011dc058e7cd3ffbc.tar.gz emacs-33f91981f796c45cdc4b059011dc058e7cd3ffbc.zip | |
*** empty log message ***
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog.22 | 5 | ||||
| -rw-r--r-- | src/character.c | 12 |
2 files changed, 17 insertions, 0 deletions
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 @@ | |||
| 1 | 2004-04-12 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * character.h (LEADING_CODE_LATIN_1_MIN) | ||
| 4 | (LEADING_CODE_LATIN_1_MAX): Delete these macros. | ||
| 5 | |||
| 1 | 2004-04-08 Kenichi Handa <handa@m17n.org> | 6 | 2004-04-08 Kenichi Handa <handa@m17n.org> |
| 2 | 7 | ||
| 3 | * category.h: Sync to HEAD. | 8 | * 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; | |||
| 59 | 59 | ||
| 60 | Lisp_Object Qauto_fill_chars; | 60 | Lisp_Object Qauto_fill_chars; |
| 61 | 61 | ||
| 62 | /* Char-table of information about which character to unify to which | ||
| 63 | Unicode character. */ | ||
| 62 | Lisp_Object Vchar_unify_table; | 64 | Lisp_Object Vchar_unify_table; |
| 63 | 65 | ||
| 64 | /* A char-table. An element is non-nil iff the corresponding | 66 | /* A char-table. An element is non-nil iff the corresponding |
| @@ -86,6 +88,9 @@ int unibyte_to_multibyte_table[256]; | |||
| 86 | 88 | ||
| 87 | 89 | ||
| 88 | 90 | ||
| 91 | /* Store multibyte form of character C at P. If C has modifier bits, | ||
| 92 | handle them appropriately. */ | ||
| 93 | |||
| 89 | int | 94 | int |
| 90 | char_string (c, p) | 95 | char_string (c, p) |
| 91 | int c; | 96 | int c; |
| @@ -167,6 +172,13 @@ char_string (c, p) | |||
| 167 | } | 172 | } |
| 168 | 173 | ||
| 169 | 174 | ||
| 175 | /* Return a character whose multibyte form is at P. Set LEN is not | ||
| 176 | NULL, it must be a pointer to integer. In that case, set *LEN to | ||
| 177 | the byte length of the multibyte form. If ADVANCED is not NULL, is | ||
| 178 | must be a pointer to unsigned char. In that case, set *ADVANCED to | ||
| 179 | the ending address (i.e. the starting address of the next | ||
| 180 | character) of the multibyte form. */ | ||
| 181 | |||
| 170 | int | 182 | int |
| 171 | string_char (p, advanced, len) | 183 | string_char (p, advanced, len) |
| 172 | const unsigned char *p; | 184 | const unsigned char *p; |