summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h
index b99a306..6678ddd 100644
--- a/src/map.h
+++ b/src/map.h
@@ -4,7 +4,9 @@
#include "smrt_arena.h"
// Hashmap structure that stores u8* keys and void* values.
-// API: map_create, map_insert, map_delete, map_lookoop
+// API: map_create, map_insert, map_delete, map_lookup
+// There is no map_destroy. It is allocated on the arena
+// Uses a5hash to hash keys.
typedef struct _map_t* map_t;
map_t map_create(smrt_arena_t *arena, u64 table_size);