diff options
author | Tucker Evans <tucker@tuckerevans.com> | 2020-07-06 15:49:49 -0400 |
---|---|---|
committer | Tucker Evans <tucker@tuckerevans.com> | 2020-07-08 10:56:36 -0400 |
commit | 50846316de122801e07511d4e3771a4561efa5ad (patch) | |
tree | 8f3edaafdeac9551781d823ac20f5c869a1d3c08 /collections/map/map.h | |
parent | cf427c05b05e0409cfdeb6bc30b69070dd1700c3 (diff) |
Add size function for maps
Diffstat (limited to 'collections/map/map.h')
-rw-r--r-- | collections/map/map.h | 3 |
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 |