Blender V5.0
BLI_sort.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2013 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
10
11#include <stdlib.h>
12
14typedef int (*BLI_sort_cmp_t)(const void *a, const void *b, void *ctx);
15
19void BLI_qsort_r(void *a, size_t n, size_t es, BLI_sort_cmp_t cmp, void *thunk)
20#ifdef __GNUC__
21 __attribute__((nonnull(1, 5)))
22#endif
23 ;
int(* BLI_sort_cmp_t)(const void *a, const void *b, void *ctx)
Definition BLI_sort.h:14
void BLI_qsort_r(void *a, size_t n, size_t es, BLI_sort_cmp_t cmp, void *thunk)
Definition sort.cc:77
static __attribute__((constructor)) void cpu_check()
Definition cpu_check.cc:94