VLC 4.0.0-dev
Loading...
Searching...
No Matches
vlc_sort.h File Reference
Include dependency graph for vlc_sort.h:

Go to the source code of this file.

Functions

void vlc_qsort (void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *, void *), void *arg)
 Sort an array with reentrancy, following the upcoming POSIX prototype.

Function Documentation

◆ vlc_qsort()

void vlc_qsort ( void * base,
size_t nmemb,
size_t size,
int(* compar )(const void *, const void *, void *),
void * arg )

Sort an array with reentrancy, following the upcoming POSIX prototype.

cf. POSIX qsort_r

References arg, compar, compar_wrapper(), state, and VLC_WEAK.

Referenced by vlc_chroma_conv_Probe(), vlc_loaddir(), and vlc_playlist_Sort().