Blender
V5.0
source
blender
blenlib
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
14
typedef
int (*
BLI_sort_cmp_t
)(
const
void
*a,
const
void
*
b
,
void
*ctx);
15
19
void
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
;
BLI_sort_cmp_t
int(* BLI_sort_cmp_t)(const void *a, const void *b, void *ctx)
Definition
BLI_sort.h:14
BLI_qsort_r
void BLI_qsort_r(void *a, size_t n, size_t es, BLI_sort_cmp_t cmp, void *thunk)
Definition
sort.cc:77
b
b
Definition
compositor_morphological_distance_infos.hh:24
__attribute__
static __attribute__((constructor)) void cpu_check()
Definition
cpu_check.cc:94
Generated on
for Blender by
doxygen
1.16.1