aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-04-12 08:32:54 +0200
committerFabrice <fabrice@schaub-dev.xyz>2026-04-12 08:32:54 +0200
commit1543cd4e298bf08ffbe4d962194fde800cee7367 (patch)
treed2e0a5ae1b9a9c3eeb87eeae99c4967e47699a7d /README.md
parent2983e797dde8bafb2e17aafd2cf0981d2d113afb (diff)
fix demo for new names
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index a07a78e..3c9c05a 100644
--- a/README.md
+++ b/README.md
@@ -60,7 +60,7 @@ void default_dealloc(void* ptr, cm_u8* user) {
int main(void) {
// Create a map: string -> int (word frequency counter)
struct cheesemap map;
- cm_new_(&map, const char*, int, NULL, hash_string, compare_string,
+ cm_init_(&map, const char*, int, NULL, hash_string, compare_string,
default_alloc, default_dealloc);
// Count word frequencies