Sorting
Sorting Utilities. More...
Functions | |
void | bubble_sort_ptr (void *base, size_t num, int(*compar)(const void *, const void *)) |
Sort array of pointers based on given comparison function. More... | |
void | bubble_sort_linked_list (void *linked_list_ptr, int next_offset, int(*compar)(const void *, const void *)) |
Sort linked list based on given comparison function. More... | |
Detailed Description
Sorting Utilities.
Function Documentation
void bubble_sort_linked_list | ( | void * | linked_list_ptr, |
int | next_offset, |
||
int(*)(const void *, const void *) | compar |
||
) |
Sort linked list based on given comparison function.
void bubble_sort_ptr | ( | void * | base, |
size_t | num, |
||
int(*)(const void *, const void *) | compar |
||
) |
Sort array of pointers based on given comparison function.