diff options
author | Vicent Marti <tanoku@gmail.com> | 2014-09-10 18:33:27 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2014-09-10 18:33:27 +0200 |
commit | 94a79a605f3e76a43f1f87a5044f6761b99e5ca5 (patch) | |
tree | 76a24ad88117cf4948eebaf6b42c86d75fe7d1e2 /src/utf8.h | |
parent | 9d86d2f32303ae0048f6a5daa552bacceb9b12ea (diff) |
Cleanup reference implementation
Diffstat (limited to 'src/utf8.h')
-rw-r--r-- | src/utf8.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,12 +1,13 @@ #ifndef _H_STMD_UTF8_ #define _H_STMD_UTF8_ +#include <stdint.h> #include "buffer.h" -void utf8proc_case_fold(strbuf *dest, const unsigned char *str, int len); +void utf8proc_case_fold(strbuf *dest, const uint8_t *str, int len); void utf8proc_encode_char(int32_t uc, strbuf *buf); ssize_t utf8proc_iterate(const uint8_t *str, ssize_t str_len, int32_t *dst); ssize_t utf8proc_charlen(const uint8_t *str, ssize_t str_len); -void utf8proc_detab(strbuf *dest, const unsigned char *line, size_t size); +void utf8proc_detab(strbuf *dest, const uint8_t *line, size_t size); #endif |