diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-04-12 08:32:54 +0200 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-04-12 08:32:54 +0200 |
| commit | 1543cd4e298bf08ffbe4d962194fde800cee7367 (patch) | |
| tree | d2e0a5ae1b9a9c3eeb87eeae99c4967e47699a7d /cm-demo.c | |
| parent | 2983e797dde8bafb2e17aafd2cf0981d2d113afb (diff) | |
fix demo for new names
Diffstat (limited to 'cm-demo.c')
| -rw-r--r-- | cm-demo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ void default_dealloc(cm_u8* 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 |
