diff options
Diffstat (limited to 'source/blender/gpu/GPU_batch_presets.h')
-rw-r--r-- | source/blender/gpu/GPU_batch_presets.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_batch_presets.h b/source/blender/gpu/GPU_batch_presets.h index 55d2e461b30..ba8ad3c4990 100644 --- a/source/blender/gpu/GPU_batch_presets.h +++ b/source/blender/gpu/GPU_batch_presets.h @@ -30,6 +30,10 @@ #include "BLI_compiler_attrs.h" #include "BLI_sys_types.h" +#ifdef __cplusplus +extern "C" { +#endif + /* gpu_batch_presets.c */ /* Replacement for gluSphere */ @@ -42,4 +46,8 @@ bool gpu_batch_presets_unregister(struct GPUBatch *preset_batch); void gpu_batch_presets_reset(void); void gpu_batch_presets_exit(void); +#ifdef __cplusplus +} +#endif + #endif /* __GPU_BATCH_PRESETS_H__ */ |