aboutsummaryrefslogtreecommitdiffstats
path: root/src/character.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/character.c')
-rw-r--r--src/character.c12
1 files changed, 12 insertions, 0 deletions
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
60Lisp_Object Qauto_fill_chars; 60Lisp_Object Qauto_fill_chars;
61 61
62/* Char-table of information about which character to unify to which
63 Unicode character. */
62Lisp_Object Vchar_unify_table; 64Lisp_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
89int 94int
90char_string (c, p) 95char_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
170int 182int
171string_char (p, advanced, len) 183string_char (p, advanced, len)
172 const unsigned char *p; 184 const unsigned char *p;