diff options
Diffstat (limited to 'source/blender/blenlib/BLI_buffer.h')
-rw-r--r-- | source/blender/blenlib/BLI_buffer.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_buffer.h b/source/blender/blenlib/BLI_buffer.h index 22d21262712..d81446af14b 100644 --- a/source/blender/blenlib/BLI_buffer.h +++ b/source/blender/blenlib/BLI_buffer.h @@ -21,6 +21,10 @@ * \ingroup bli */ +#ifdef __cplusplus +extern "C" { +#endif + typedef struct BLI_Buffer { void *data; const size_t elem_size; @@ -93,4 +97,8 @@ void _bli_buffer_free(BLI_Buffer *buffer); #define BLI_buffer_field_free(name_) _bli_buffer_free(name_) +#ifdef __cplusplus +} +#endif + #endif /* __BLI_BUFFER_H__ */ |