Blender V4.3
mallocn_intern_function_pointers.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2024 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
12
13enum class AllocationType {
18};
19
21extern void (*mem_freeN_ex)(void *vmemh, AllocationType allocation_type);
22
25extern void *(*mem_mallocN_aligned_ex)(size_t len,
26 size_t alignment,
27 const char *str,
28 AllocationType allocation_type);
29
44void add_memleak_data(std::any data);
45
46} // namespace mem_guarded::internal
int len
#define str(s)
void add_memleak_data(std::any data)
void(* mem_freeN_ex)(void *vmemh, AllocationType allocation_type)
Definition mallocn.cc:37