From 3ff0a42bc3c0836c5cfddfd909292c1b5a64c403 Mon Sep 17 00:00:00 2001 From: Tyge Løvset <60263450+tylov@users.noreply.github.com> Date: Thu, 2 Jun 2022 06:24:12 +0200 Subject: Update cstr_api.md --- docs/cstr_api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') 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 -- cgit v1.2.3