Turnstone Operating System
Loading...
Searching...
No Matches
quicksort.h File Reference

quicksort interface More...

#include <types.h>

Typedefs

typedef int8_t(* quicksort_comparator_f) (const void *a, const void *b)
 
typedef void(* quicksort_swap_f) (void *a, void *b, uint64_t item_size)
 

Functions

void quicksort_partial (void *array, uint64_t start, uint64_t end, uint64_t item_size, quicksort_comparator_f comparator, quicksort_swap_f swap)
 
static void quicksort (void *array, uint64_t size, uint64_t item_size, quicksort_comparator_f comparator, quicksort_swap_f swap)
 
void quicksort2_partial (void **array, uint64_t start, uint64_t end, quicksort_comparator_f comparator)
 
static void quicksort2 (void **array, uint64_t size, quicksort_comparator_f comparator)
 

Detailed Description

quicksort interface

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.