diff options
| author | Tyge Løvset <[email protected]> | 2022-01-30 15:41:16 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-01-30 15:41:16 +0100 |
| commit | ba3f9c10466bf724cada8713cd2934bdc56bb26e (patch) | |
| tree | 1d23c17858ac8651a20611d1037b92deaaeb4da8 /docs | |
| parent | df626f83dbf7789d622a1c5f4ff9fec3f61bc61b (diff) | |
| download | STC-modified-ba3f9c10466bf724cada8713cd2934bdc56bb26e.tar.gz STC-modified-ba3f9c10466bf724cada8713cd2934bdc56bb26e.zip | |
Replaced utf8_decode() and friends code.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/csview_api.md | 2 |
1 files changed, 1 insertions, 1 deletions
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. ``` |
