From 26537124a4070f7869db67317b90e08916050c8f Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 11 Jun 2015 16:43:34 -0700 Subject: Renamed utf8proc_detab as utf8proc_check, removed detabbing function. Now it just replaces bad UTF-8 sequences and NULLs. This restores benchmarks to near their previous levels. --- src/utf8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utf8.h') diff --git a/src/utf8.h b/src/utf8.h index ed1d7ee..9f1a4ec 100644 --- a/src/utf8.h +++ b/src/utf8.h @@ -11,7 +11,7 @@ extern "C" { 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, bufsize_t str_len, int32_t *dst); -void utf8proc_detab(cmark_strbuf *dest, const uint8_t *line, bufsize_t size); +void utf8proc_check(cmark_strbuf *dest, const uint8_t *line, bufsize_t size); int utf8proc_is_space(int32_t uc); int utf8proc_is_punctuation(int32_t uc); -- cgit v1.2.3