void aa_aheap_heapify(uint8_t *base, size_t nmemb, size_t size, size_t i, aa_compar_fun compar)
The "heapify" operation.
void aa_aheap_build(uint8_t *base, size_t nmemb, size_t size, aa_compar_fun compar)
Build a heap from an array.
void aa_aheap_sort(void *base, size_t nmemb, size_t size, aa_compar_fun compar)
Perform heapsort.
int(* aa_compar_fun)(const void *a, const void *b)
A comparison function.