const t_type * key_type
The type of keys in the hashmap.
int(* cmp)(const void *, const void *)
(optional) A function ponter used to compare members of this data type
void * hashmap_get(const t_hashmap *hm, const void *key)
Fetches the value associated with the given key.
size_t(* hash)(const void *, size_t)
(optional) A function pointer used to get a hash value of this data type
A symbol table of generic key-value pairs, implemented as a dynamically resizing linear-probing hashm...
size_t capacity
The current capacity of the hashmap.