summaryrefslogtreecommitdiffhomepage
path: root/docs/cset_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-12-05 15:10:52 +0100
committerTyge Løvset <[email protected]>2020-12-05 15:10:52 +0100
commit17196445c8e3b0186d61abfa04cf97529233b1a2 (patch)
tree7e1bcaec45c4dde00c272857038c945fe0a97d86 /docs/cset_api.md
parent029441f7b9128e7aeb5af3ba629287c9a709b19a (diff)
downloadSTC-modified-17196445c8e3b0186d61abfa04cf97529233b1a2.tar.gz
STC-modified-17196445c8e3b0186d61abfa04cf97529233b1a2.zip
Some text improvements. Renamed method c_default_hash16 to c_default_hash.
Diffstat (limited to 'docs/cset_api.md')
-rw-r--r--docs/cset_api.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/cset_api.md b/docs/cset_api.md
index ca3e91e3..bb5dfaff 100644
--- a/docs/cset_api.md
+++ b/docs/cset_api.md
@@ -9,7 +9,7 @@ Same base implementation as cmap, but contains and uses keys only.
#define using_cset_str()
#define using_cset(X, Key, keyEqualsRaw=c_default_equals,
- keyHashRaw=c_default_hash16,
+ keyHashRaw=c_default_hash,
keyDestroy=c_default_del,
RawKey=Key,
keyToRaw=c_default_to_raw,
@@ -88,7 +88,7 @@ cset_X_value_t* cset_X_itval(cset_X_iter_t it);
cset_bucket_t cset_X_bucket(const cset_X* self, const cset_X_rawkey_t* rkeyPtr);
-uint32_t c_default_hash16(const void *data, size_t len);
+uint32_t c_default_hash(const void *data, size_t len);
uint32_t c_default_hash32(const void* data, size_t len);
```