Go to the documentation of this file.
23 while (i < hm->capacity)
25 if (hm->
keys[i] != NULL)
const t_type * key_type
The type of keys in the hashmap.
t_queue * hashmap_keys(const t_hashmap *hm)
Returns a queue with all the keys in the map.
Doubly-linked list of generic items.
t_queue * queue_new(const t_type *type)
Allocates memory and initializes an empty queue.
A symbol table of generic key-value pairs, implemented as a dynamically resizing linear-probing hashm...
void queue_enqueue(t_queue *queue, const void *data)
Copies the item and adds the copy to the queue.