summaryrefslogtreecommitdiffhomepage
path: root/docs/cstr_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-09-05 18:10:14 +0200
committerTyge Løvset <[email protected]>2023-09-05 18:10:14 +0200
commit493c34e9c2de0587f38681340db8f2735e72d7dd (patch)
tree158838cfe8a4a59d258a9a5817faf2a18808ff38 /docs/cstr_api.md
parent3628e4389ef9455960c42466487385fc228566c3 (diff)
downloadSTC-modified-493c34e9c2de0587f38681340db8f2735e72d7dd.tar.gz
STC-modified-493c34e9c2de0587f38681340db8f2735e72d7dd.zip
Renamed (half)internal functions:
cfasthash() => stc_hash() cstrhash() => stc_strhash() cnextpow2() => stc_nextpow2()
Diffstat (limited to 'docs/cstr_api.md')
-rw-r--r--docs/cstr_api.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/cstr_api.md b/docs/cstr_api.md
index 397634ec..69512a9e 100644
--- a/docs/cstr_api.md
+++ b/docs/cstr_api.md
@@ -142,8 +142,9 @@ Note that all methods with arguments `(..., const char* str, intptr_t n)`, `n` m
```c
int cstr_cmp(const cstr* s1, const cstr* s2);
bool cstr_eq(const cstr* s1, const cstr* s2);
-bool cstr_hash(const cstr* self);
-char* cstrnstrn(const char* str, const char* search, intptr_t slen, intptr_t nlen);
+uint64_t cstr_hash(const cstr* self);
+
+char* stc_strnstrn(const char* str, const char* search, intptr_t slen, intptr_t nlen);
```
## Types