summaryrefslogtreecommitdiffhomepage
path: root/docs/cstr_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-09-05 18:21:53 +0200
committerTyge Løvset <[email protected]>2023-09-05 18:21:53 +0200
commita0a75ac1c324ac52931c9df37ce13cb4213ab711 (patch)
tree50a495316e043a34caaaf4987c894103b0f457d1 /docs/cstr_api.md
parent493c34e9c2de0587f38681340db8f2735e72d7dd (diff)
downloadSTC-modified-a0a75ac1c324ac52931c9df37ce13cb4213ab711.tar.gz
STC-modified-a0a75ac1c324ac52931c9df37ce13cb4213ab711.zip
Swapped two parameters in newly renamed "internal" function stc_strnstrn().
Diffstat (limited to 'docs/cstr_api.md')
-rw-r--r--docs/cstr_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cstr_api.md b/docs/cstr_api.md
index 69512a9e..29dfe464 100644
--- a/docs/cstr_api.md
+++ b/docs/cstr_api.md
@@ -144,7 +144,7 @@ int cstr_cmp(const cstr* s1, const cstr* s2);
bool cstr_eq(const cstr* s1, const cstr* s2);
uint64_t cstr_hash(const cstr* self);
-char* stc_strnstrn(const char* str, const char* search, intptr_t slen, intptr_t nlen);
+char* stc_strnstrn(const char* str, intptr_t slen, const char* needle, intptr_t nlen);
```
## Types