From 20c79049e9b0a6a1aa47b1b9dacfbb31b6e7c992 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Mon, 6 Jul 2020 17:26:10 -0400 Subject: Add clear & free functions for maps --- collections/map/map.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'collections/map/map.h') 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 -- cgit v1.1