From a0a75ac1c324ac52931c9df37ce13cb4213ab711 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Tue, 5 Sep 2023 18:21:53 +0200 Subject: Swapped two parameters in newly renamed "internal" function stc_strnstrn(). --- docs/cstr_api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/cstr_api.md') 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 -- cgit v1.2.3