From ba3f9c10466bf724cada8713cd2934bdc56bb26e Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Sun, 30 Jan 2022 15:41:16 +0100 Subject: Replaced utf8_decode() and friends code. --- docs/csview_api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/csview_api.md b/docs/csview_api.md index defc29fd..75e50373 100644 --- a/docs/csview_api.md +++ b/docs/csview_api.md @@ -69,7 +69,7 @@ size_t utf8_pos(const char* s, size_t index); // from UTF8 ind const char* utf8_next(const char *s); // next codepoint as char*; NULL if *s == 0 uint32_t utf8_peek(const char *s); // next codepoint as uint32_t -size_t utf8_codepoint_size(const char* s); // 1-4 (0 if s[0] is illegal first cp char) +size_t utf8_codep_size(const char* s); // 1-4 (0 if s[0] is illegal first cp char) uint32_t utf8_decode(uint32_t *state, uint32_t *codep, const uint32_t byte); // decode next utf8 codepoint. ``` -- cgit v1.2.3