gwenhywfar  5.14.1
Typedefs | Functions
quicksort.h File Reference
#include <gwenhywfar/gwenhywfarapi.h>
Include dependency graph for quicksort.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef int(* GWEN_QUICKSORT_COMPARE_CB) (const void *p1, const void *p2, void *arg)
 

Functions

GWENHYWFAR_API void GWEN_QuickSort (void *array, int elemNum, int elemSize, GWEN_QUICKSORT_COMPARE_CB cb, void *arg)
 

Typedef Documentation

◆ GWEN_QUICKSORT_COMPARE_CB

typedef int(* GWEN_QUICKSORT_COMPARE_CB) (const void *p1, const void *p2, void *arg)

Definition at line 35 of file quicksort.h.

Function Documentation

◆ GWEN_QuickSort()

GWENHYWFAR_API void GWEN_QuickSort ( void *  array,
int  elemNum,
int  elemSize,
GWEN_QUICKSORT_COMPARE_CB  cb,
void *  arg 
)

Definition at line 49 of file quicksort.c.

References sort_r().

Referenced by GWEN_Tree2Element_SortChildren().

Here is the call graph for this function:
Here is the caller graph for this function: