void * array_get(const t_array *array, size_t index)
Returns the item at the specified position in this list.
size_t array_size(const t_array *array)
Returns the number of elements in this array.
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.
void * array_pop(t_array *array)
Removes and returns the element at the end of this array.
const t_type * type
The type of items in this array.
void * min_pq_pop(t_min_pq *pq)
Removes and returns the smallest key in this queue.