aboutsummaryrefslogtreecommitdiff
path: root/collections/map/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'collections/map/map.h')
-rw-r--r--collections/map/map.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/collections/map/map.h b/collections/map/map.h
index 38e3e11..f67b559 100644
--- a/collections/map/map.h
+++ b/collections/map/map.h
@@ -1,7 +1,7 @@
#ifndef MAP_H
#define MAP_H
-typedef struct map_node map;
+typedef struct map_root map;
typedef int (*cmp_func)(void*, void*);
/*constructors*/
@@ -13,6 +13,7 @@ int map_size(map*);
/*data*/
int map_insert(map*, void*, void*);
void* map_index(map*, void*);
+void* map_set_val(map*, void*, void*);
int map_check_key_ptr(map*, void*);
void* map_set_key(map*, void*);