diff options
Diffstat (limited to 'source/blender/blenlib/BLI_memory_utils.h')
-rw-r--r-- | source/blender/blenlib/BLI_memory_utils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_memory_utils.h b/source/blender/blenlib/BLI_memory_utils.h index 74d4451ed8d..99ec44cf9ea 100644 --- a/source/blender/blenlib/BLI_memory_utils.h +++ b/source/blender/blenlib/BLI_memory_utils.h @@ -22,9 +22,17 @@ * \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, const size_t size); #endif +#ifdef __cplusplus +} +#endif + #endif /* __BLI_MEMORY_UTILS_H__ */ |