aboutsummaryrefslogtreecommitdiffstats
path: root/cheesemap.h
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-04-12 21:50:18 +0200
committerFabrice <fabrice@schaub-dev.xyz>2026-04-12 21:50:18 +0200
commit6584ac612ccc07ff8806e26af0480e2bc7804510 (patch)
treec6c7e08e7070a76c02b60a3ed48106ce359524c2 /cheesemap.h
parent1e808c9effe61b3d1188efb7180965f623a66579 (diff)
important duplicated entry fix
Diffstat (limited to 'cheesemap.h')
-rw-r--r--cheesemap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cheesemap.h b/cheesemap.h
index fb74b9a..65faf81 100644
--- a/cheesemap.h
+++ b/cheesemap.h
@@ -148,7 +148,8 @@ bool cm_raw_remove(struct cheesemap_raw* map, cm_hash_fn hash,
const struct cm_type* type, const cm_u8* key,
cm_u8* out_value);
bool cm_raw_insert(struct cheesemap_raw* map, cm_hash_fn hash,
- cm_alloc_fn alloc, cm_dealloc_fn dealloc, cm_u8* user,
+ cm_compare_fn compare, cm_alloc_fn alloc,
+ cm_dealloc_fn dealloc, cm_u8* user,
const struct cm_type* type, const cm_u8* key,
const cm_u8* value);