summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-09-05 13:01:50 +0200
committerTyge Løvset <[email protected]>2023-09-05 13:01:50 +0200
commit3628e4389ef9455960c42466487385fc228566c3 (patch)
treebf77c960cc44640485a47efb01d80a430747d586 /docs
parent5e38c27f35d8916770a5e1f9a586c7d73e27bad1 (diff)
downloadSTC-modified-3628e4389ef9455960c42466487385fc228566c3.tar.gz
STC-modified-3628e4389ef9455960c42466487385fc228566c3.zip
Renamed (half) internal function cfasthash() => cbytehash().
Fixed missing parameter in call of i_hash().
Diffstat (limited to 'docs')
-rw-r--r--docs/cmap_api.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/cmap_api.md b/docs/cmap_api.md
index 65777221..0fbd9b7a 100644
--- a/docs/cmap_api.md
+++ b/docs/cmap_api.md
@@ -88,9 +88,9 @@ cmap_X_raw cmap_X_value_toraw(cmap_X_value* pval);
```
Helpers:
```c
-uint64_t c_default_hash(const X *obj); // macro, calls cfasthash(obj, sizeof *obj)
+uint64_t cbytehash(const void *data, intptr_t len); // base hash function
uint64_t cstrhash(const char *str); // string hash funcion, uses strlen()
-uint64_t cfasthash(const void *data, intptr_t len); // base hash function
+uint64_t c_default_hash(const X *obj); // macro, calls cbytehash(obj, sizeof *obj)
// equalto template parameter functions:
bool c_default_eq(const i_keyraw* a, const i_keyraw* b); // *a == *b