From 0b50b90cf4efcd1646b2517a4777605ab2e844df Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 16 Jul 2010 22:33:30 +0000 Subject: Change chars.in HTML encoding to be a Unicode codepoint (int), which is later formatted in html.c. --- chars.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'chars.h') diff --git a/chars.h b/chars.h index 0cb31141..88b3ebf5 100644 --- a/chars.h +++ b/chars.h @@ -25,8 +25,10 @@ enum chars { }; void *chars_init(enum chars); -const char *chars_a2ascii(void *, const char *, size_t, size_t *); -const char *chars_a2res(void *, const char *, size_t, size_t *); +const char *chars_spec2str(void *, const char *, size_t, size_t *); +int chars_spec2cp(void *, const char *, size_t); +const char *chars_res2str(void *, const char *, size_t, size_t *); +int chars_res2cp(void *, const char *, size_t); void chars_free(void *); __END_DECLS -- cgit