summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/cstr_api.md2
-rw-r--r--docs/csview_api.md3
2 files changed, 2 insertions, 3 deletions
diff --git a/docs/cstr_api.md b/docs/cstr_api.md
index cdb73a69..c26bb868 100644
--- a/docs/cstr_api.md
+++ b/docs/cstr_api.md
@@ -53,7 +53,7 @@ void cstr_insert_n(cstr* self, size_t pos, const char* str, size_t n);
void cstr_replace(cstr* self, size_t pos, size_t len, const char* str);
void cstr_replace_s(cstr* self, size_t pos, size_t len, cstr s);
void cstr_replace_n(cstr* self, size_t pos, size_t len, const char* str, size_t n);
-size_t cstr_replace_all(cstr* self, const char* find, const char* replace);
+void cstr_replace_all(cstr* self, const char* find, const char* replace);
void cstr_erase(cstr* self, size_t pos);
void cstr_erase_n(cstr* self, size_t pos, size_t n);
diff --git a/docs/csview_api.md b/docs/csview_api.md
index bd4945c0..2906acdc 100644
--- a/docs/csview_api.md
+++ b/docs/csview_api.md
@@ -58,7 +58,7 @@ void csview_next(csview_iter_t* it);
#### Extended cstr methods
```c
cstr cstr_from_v(csview sv); // construct cstr from csview
-cstr cstr_from_replace_all(csview sv, csview find, csview replace);
+cstr cstr_from_replace_all_v(csview sv, csview find, csview replace);
csview cstr_sv(cstr s); // convert to csview from cstr
csview cstr_to_v(const cstr* self); // convert to csview from cstr*
@@ -69,7 +69,6 @@ cstr* cstr_assign_v(cstr* self, csview sv);
cstr* cstr_append_v(cstr* self, csview sv);
void cstr_insert_v(cstr* self, size_t pos, csview sv);
void cstr_replace_v(cstr* self, size_t pos, size_t len, csview sv);
-void cstr_replace_all_v(cstr* self, csview find, csview replace);
bool cstr_equals_v(cstr s, csview sv);
size_t cstr_find_v(cstr s, csview needle);