Welcome to mirror list, hosted at ThFree Co, Russian Federation.

BLI_memory_utils.h « blenlib « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8ba744a87ca6189726a488a482d62461a854e7e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* SPDX-License-Identifier: GPL-2.0-or-later */

/* Use a define instead of `#pragma once` because of `BLI_utildefines.h` */
#ifndef __BLI_MEMORY_UTILS_H__
#define __BLI_MEMORY_UTILS_H__

/** \file
 * \ingroup bli
 * \brief Generic memory manipulation API.
 */

#ifdef __cplusplus
extern "C" {
#endif

/* it may be defined already */
#ifndef __BLI_UTILDEFINES_H__
bool BLI_memory_is_zero(const void *arr, size_t size);
#endif

#ifdef __cplusplus
}
#endif

#endif /* __BLI_MEMORY_UTILS_H__ */