From 50846316de122801e07511d4e3771a4561efa5ad Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Mon, 6 Jul 2020 15:49:49 -0400 Subject: Add size function 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 8aad2f4..ef4b0c8 100644 --- a/collections/map/map.h +++ b/collections/map/map.h @@ -7,4 +7,7 @@ typedef int (*cmp_func)(void*, void*); /*constructors*/ map* map_new(cmp_func); +/*management*/ +int map_size(map*); + #endif -- cgit v1.1