summaryrefslogtreecommitdiffhomepage
path: root/docs/csview_api.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/csview_api.md')
-rw-r--r--docs/csview_api.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/csview_api.md b/docs/csview_api.md
index b4319c85..0a071278 100644
--- a/docs/csview_api.md
+++ b/docs/csview_api.md
@@ -82,8 +82,8 @@ cstr cstr_from_replace_all_sv(csview sv, csview find, csview replace)
csview cstr_substr(const cstr* s, intptr_t pos, size_t n); // negative pos count from end
csview cstr_slice(const cstr* s, intptr_t p, intptr_t q); // negative p or q count from end
-cstr* cstr_assign_sv(cstr* self, csview sv);
-cstr* cstr_append_sv(cstr* self, csview sv);
+csview cstr_assign_sv(cstr* self, csview sv); // return csview of assigned cstr
+void cstr_append_sv(cstr* self, csview sv);
void cstr_insert_sv(cstr* self, size_t pos, csview sv);
void cstr_replace_sv(cstr* self, size_t pos, size_t len, csview sv);