Blender V4.3
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
11#include <stdlib.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
18typedef int (*BLI_sort_cmp_t)(const void *a, const void *b, void *ctx);
19
20void BLI_qsort_r(void *a, size_t n, size_t es, BLI_sort_cmp_t cmp, void *thunk)
21#ifdef __GNUC__
22 __attribute__((nonnull(1, 5)))
23#endif
24 ;
25
26#ifdef __cplusplus
27}
28#endif
int(* BLI_sort_cmp_t)(const void *a, const void *b, void *ctx)
Definition BLI_sort.h:18
void BLI_qsort_r(void *a, size_t n, size_t es, BLI_sort_cmp_t cmp, void *thunk)
Definition sort.c:76
local_group_size(16, 16) .push_constant(Type b
static __attribute__((constructor)) void cpu_check()
Definition cpu_check.cc:94
draw_view push_constant(Type::INT, "radiance_src") .push_constant(Type capture_info_buf storage_buf(1, Qualifier::READ, "ObjectBounds", "bounds_buf[]") .push_constant(Type draw_view int