Functions | |
| LIBEXPORT void | heapsort (void *array, INT32 n, INT32 size, int(*compare)(void *a, void *b, void *hookdata), void *hookdata) |
| LIBEXPORT int | HeapSortGen (INT32 n, int(*compare)(INT32 a, INT32 b, void *hookdata), int(*swap)(INT32 a, INT32 b, void *hookdata), void *hookdata) |
|
||||||||||||||||||||||||
|
Memory based heapsort. Sorts an array in memory. Assumes it can use memcpy() to swap items.
|
|
||||||||||||||||||||
|
Generic Heapsort.
|
1.3.8-20040913