diff options
author | Tucker Evans <tucker@tuckerevans.com> | 2020-07-06 15:39:08 -0400 |
---|---|---|
committer | Tucker Evans <tucker@tuckerevans.com> | 2020-07-08 10:56:36 -0400 |
commit | cf427c05b05e0409cfdeb6bc30b69070dd1700c3 (patch) | |
tree | 65f706850bc4e5c56889a11eba67bc092c60d778 /collections/map/map.h | |
parent | f652c23fbc61dec9db48c6e745edca5a12b655bb (diff) |
Add constructor 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 a760b45..8aad2f4 100644 --- a/collections/map/map.h +++ b/collections/map/map.h @@ -4,4 +4,7 @@ typedef struct map_node map; typedef int (*cmp_func)(void*, void*); +/*constructors*/ +map* map_new(cmp_func); + #endif |