diff options
| author | Tyge Løvset <[email protected]> | 2022-06-02 06:24:12 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-06-02 06:24:12 +0200 |
| commit | 3ff0a42bc3c0836c5cfddfd909292c1b5a64c403 (patch) | |
| tree | 0bf6dfd67c3a974682450dec871df4ca2ba1f46b /docs/cstr_api.md | |
| parent | 7ad5a8533daf107cdc0aa6f90af1fd4769557ea1 (diff) | |
| download | STC-modified-3ff0a42bc3c0836c5cfddfd909292c1b5a64c403.tar.gz STC-modified-3ff0a42bc3c0836c5cfddfd909292c1b5a64c403.zip | |
Update cstr_api.md
Diffstat (limited to 'docs/cstr_api.md')
| -rw-r--r-- | docs/cstr_api.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cstr_api.md b/docs/cstr_api.md index 0991a8c4..8dd1b397 100644 --- a/docs/cstr_api.md +++ b/docs/cstr_api.md @@ -84,7 +84,7 @@ bool cstr_getdelim(cstr *self, int delim, FILE *stream); // does no ``` #### UTF8 methods -``` +```c size_t cstr_size_u8(cstr s); // number of utf8 codepoints size_t cstr_size_n_u8(cstr s, size_t nbytes); // utf8 size within n bytes csview cstr_at(const cstr* self, size_t bytepos); // utf8 codepoints as a csview |
