void * array_get(const t_array *array, size_t index)
Returns the item at the specified position in this list.
void min_pq_add(t_min_pq *pq, const void *data)
Adds a copy of the specified element to the queue.
int(* cmp)(const void *, const void *)
(optional) A function ponter used to compare members of this data type
void array_swap(t_array *array, size_t ind1, size_t ind2)
Swaps elements at the two specified positions in the array.
const t_type * type
The type of items in this array.
size_t min_pq_size(const t_min_pq *pq)
Returns the number of keys in this queue.
void array_append(t_array *array, const void *content)
Appends a copy the specified element to the end of this array.