|
PebbleOS
|
#include <stdint.h>#include <stddef.h>Typedefs | |
| typedef int(* | SortComparator) (const void *, const void *) |
| qsort()-style comparator: negative, 0 or positive when a < b, a == b or a > b. | |
Functions | |
| void | sort_bubble (void *array, size_t num_elem, size_t elem_size, SortComparator comp) |
| Sort an array in ascending order with a quadratic exchange sort. | |