diff options
author | Nick Wellnhofer <[email protected]> | 2015-06-07 16:52:44 +0200 |
---|---|---|
committer | Nick Wellnhofer <[email protected]> | 2015-06-07 21:42:15 +0200 |
commit | 7382fd5eba48107a8190bd2d6232cc3b6e20d8fc (patch) | |
tree | b0d3c9f7b9a2f2eb94c0806c32e9d77f4ba59149 /src/utf8.h | |
parent | d49d3fd7bab4a8734e5f22318e3fb538bfe20dbb (diff) |
Convert code base to strbuf_t
There are probably a couple of places I missed. But this will only
be a problem if we use a 64-bit bufsize_t at some point. Then, we'll
get warnings from -Wshorten-64-to-32.
Diffstat (limited to 'src/utf8.h')
-rw-r--r-- | src/utf8.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -8,10 +8,10 @@ extern "C" { #endif -void utf8proc_case_fold(cmark_strbuf *dest, const uint8_t *str, int len); +void utf8proc_case_fold(cmark_strbuf *dest, const uint8_t *str, bufsize_t len); void utf8proc_encode_char(int32_t uc, cmark_strbuf *buf); -int utf8proc_iterate(const uint8_t *str, int str_len, int32_t *dst); -void utf8proc_detab(cmark_strbuf *dest, const uint8_t *line, size_t size); +int utf8proc_iterate(const uint8_t *str, bufsize_t str_len, int32_t *dst); +void utf8proc_detab(cmark_strbuf *dest, const uint8_t *line, bufsize_t size); int utf8proc_is_space(int32_t uc); int utf8proc_is_punctuation(int32_t uc); |