aboutsummaryrefslogtreecommitdiff
path: root/collections/map/map.c
AgeCommit message (Collapse)Author
2020-07-08Add check key ptr for map to ease memory management of keysTucker Evans
2020-07-08Fix rename map_reset_key to map_set_keyTucker Evans
2020-07-08Fix map insert error returnsTucker Evans
Makes inserting an equivalent key an error, set_val should be used.
2020-07-08Add balance factor computation for map nodesTucker Evans
2020-07-08Add height helper function for mapsTucker Evans
2020-07-08Fix access node's key not passed key for maps index/insertTucker Evans
2020-07-08Add index function for mapsTucker Evans
2020-07-08Add reset key function for mapsTucker Evans
Allows changing the pointer to key when they are equivalent (by cmp function), to avoid memory leaks that could happen if we assumed either pointer was to be freed or overwritten.
2020-07-08Add insert function for mapsTucker Evans
2020-07-08Add new_from_parent function for mapsTucker Evans
Allows setting the parent field and cmp members in a simple way.
2020-07-08Add clear & free functions for mapsTucker Evans
2020-07-08Add size function for mapsTucker Evans
2020-07-08Add constructor for mapsTucker Evans
2020-07-08Add structs/typedefs for mapsTucker Evans