summaryrefslogtreecommitdiff
path: root/src/utf8.h
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-06-11 16:43:34 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-06-16 17:48:05 -0700
commit26537124a4070f7869db67317b90e08916050c8f (patch)
tree376f5f2f78e01fe2c7b09c9f7cfe471fbeeac60e /src/utf8.h
parent7f491b0bdf8e206458d284938efa8a0890c9d352 (diff)
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.
Diffstat (limited to 'src/utf8.h')
-rw-r--r--src/utf8.h2
1 files changed, 1 insertions, 1 deletions
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);