aboutsummaryrefslogtreecommitdiff
path: root/collections/map/map.h
diff options
context:
space:
mode:
authorTucker Evans <tucker@tuckerevans.com>2020-07-06 15:49:49 -0400
committerTucker Evans <tucker@tuckerevans.com>2020-07-08 10:56:36 -0400
commit50846316de122801e07511d4e3771a4561efa5ad (patch)
tree8f3edaafdeac9551781d823ac20f5c869a1d3c08 /collections/map/map.h
parentcf427c05b05e0409cfdeb6bc30b69070dd1700c3 (diff)
Add size 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 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