aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
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