Blender
V3.3
|
#include <stdlib.h>
Go to the source code of this file.
Typedefs | |
typedef int(* | BLI_sort_cmp_t) (const void *a, const void *b, void *ctx) |
Functions | |
void | BLI_qsort_r (void *a, size_t n, size_t es, BLI_sort_cmp_t cmp, void *thunk) |
Quick sort (re-entrant).
Definition at line 18 of file BLI_sort.h.
void BLI_qsort_r | ( | void * | a, |
size_t | n, | ||
size_t | es, | ||
BLI_sort_cmp_t | cmp, | ||
void * | thunk | ||
) |
Quick sort re-entrant.
Definition at line 79 of file sort.c.
References Freestyle::a, BLI_qsort_r(), CMP, med3(), min, r, swap, SWAPINIT, and vecswap.
Referenced by BLI_bitmap_draw_2d_poly_v2i_n(), BLI_qsort_r(), BM_mesh_intersect_edges(), and psys_thread_context_init_distribute().