diff options
author | Jacques Lucke <jacques@blender.org> | 2020-03-02 17:28:47 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-03-02 17:29:09 +0300 |
commit | f48b46860b57b7caf3d804267952cd43ecec089a (patch) | |
tree | 711d700d0d5240d499ef055ff168d65de5472af0 /source/blender/gpu/GPU_buffers.h | |
parent | 360443a48346dc7c22fc6627849515da490b6e7b (diff) |
Cleanup: make remaining gpu headers work in C++
Diffstat (limited to 'source/blender/gpu/GPU_buffers.h')
-rw-r--r-- | source/blender/gpu/GPU_buffers.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_buffers.h b/source/blender/gpu/GPU_buffers.h index 2ed4ee44287..c4540cc1b1a 100644 --- a/source/blender/gpu/GPU_buffers.h +++ b/source/blender/gpu/GPU_buffers.h @@ -26,6 +26,10 @@ #include <stddef.h> +#ifdef __cplusplus +extern "C" { +#endif + struct BMesh; struct CCGElem; struct CCGKey; @@ -106,4 +110,8 @@ short GPU_pbvh_buffers_material_index_get(GPU_PBVH_Buffers *buffers); bool GPU_pbvh_buffers_has_mask(GPU_PBVH_Buffers *buffers); +#ifdef __cplusplus +} +#endif + #endif |