Go to the documentation of this file.
23 while (i < hm->capacity)
25 if (hm->
vals[i] != NULL)
t_queue * hashmap_vals(const t_hashmap *hm)
Returns a queue with all the values 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.
const t_type * val_type
The type of values in the hashmap.