1
0
mirror of https://github.com/bol-van/zapret.git synced 2025-02-04 15:18:06 +08:00
2021-03-04 14:30:38 +03:00

7 lines
233 B
C

#pragma once
// GNU qsort is 2x faster than musl
typedef int (*__gnu_compar_d_fn_t) (const void *, const void *, void *);
void gnu_quicksort (void *const pbase, size_t total_elems, size_t size, __gnu_compar_d_fn_t cmp, void *arg);