Go to the source code of this file.
|
static void | siftdown (void *base, size_t _size, int(*compar)(const void *, const void *), void(*swap)(void *, void *), long start, long stop) |
|
void | heapsort (void *base, size_t nmemb, size_t _size, int(*compar)(const void *, const void *), void(*swap)(void *, void *)) |
|
◆ siftdown()
static void siftdown |
( |
void * |
base, |
|
|
size_t |
_size, |
|
|
int(*)(const void *, const void *) |
compar, |
|
|
void(*)(void *, void *) |
swap, |
|
|
long |
start, |
|
|
long |
stop |
|
) |
| |
|
static |
◆ heapsort()
void heapsort |
( |
void * |
base, |
|
|
size_t |
nmemb, |
|
|
size_t |
_size, |
|
|
int(*)(const void *, const void *) |
compar, |
|
|
void(*)(void *, void *) |
swap |
|
) |
| |