aboutsummaryrefslogtreecommitdiff
path: root/collections/map/map.h
diff options
context:
space:
mode:
authorTucker Evans <tucker@tuckerevans.com>2020-07-06 17:26:10 -0400
committerTucker Evans <tucker@tuckerevans.com>2020-07-08 10:56:36 -0400
commit20c79049e9b0a6a1aa47b1b9dacfbb31b6e7c992 (patch)
tree761f68ac650e7f974c0a45c61e980ce0fbe9881c /collections/map/map.h
parent50846316de122801e07511d4e3771a4561efa5ad (diff)
Add clear & free functions 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 ef4b0c8..11a1ceb 100644
--- a/collections/map/map.h
+++ b/collections/map/map.h
@@ -10,4 +10,7 @@ map* map_new(cmp_func);
/*management*/
int map_size(map*);
+/*memory*/
+void map_clear(map*);
+void map_free(map*);
#endif