Blender V4.3
BLI_memory_utils.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5/* Use a define instead of `#pragma once` because of `BLI_utildefines.h` */
6#ifndef __BLI_MEMORY_UTILS_H__
7#define __BLI_MEMORY_UTILS_H__
8
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18/* it may be defined already */
19#ifndef __BLI_UTILDEFINES_H__
20bool BLI_memory_is_zero(const void *arr, size_t size);
21#endif
22
23#ifdef __cplusplus
24}
25#endif
26
27#endif /* __BLI_MEMORY_UTILS_H__ */
bool BLI_memory_is_zero(const void *arr, size_t size)