aboutsummaryrefslogtreecommitdiff
path: root/collections/map/map.h
diff options
context:
space:
mode:
authorTucker Evans <tucker@tuckerevans.com>2020-07-06 19:47:22 -0400
committerTucker Evans <tucker@tuckerevans.com>2020-07-08 11:02:40 -0400
commit51d368c20e1d93970a94cb0d2aff10654922bb37 (patch)
tree2903118e96ca69a499e91e63c5ee6c217b47e44d /collections/map/map.h
parent0cca188d0ccbfe3d87805c74b63fef72a58a2b84 (diff)
Add insert function for maps
Diffstat (limited to 'collections/map/map.h')
-rw-r--r--collections/map/map.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/collections/map/map.h b/collections/map/map.h
index 11a1ceb..b389d87 100644
--- a/collections/map/map.h
+++ b/collections/map/map.h
@@ -10,6 +10,9 @@ map* map_new(cmp_func);
/*management*/
int map_size(map*);
+/*data*/
+int map_insert(map*, void*, void*);
+
/*memory*/
void map_clear(map*);
void map_free(map*);