diff options
Diffstat (limited to 'source/blender/gpu/GPU_primitive.h')
-rw-r--r-- | source/blender/gpu/GPU_primitive.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_primitive.h b/source/blender/gpu/GPU_primitive.h index 0f4becc6bff..4cd6205c0d1 100644 --- a/source/blender/gpu/GPU_primitive.h +++ b/source/blender/gpu/GPU_primitive.h @@ -28,6 +28,10 @@ #include "GPU_common.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef enum { GPU_PRIM_POINTS, GPU_PRIM_LINES, @@ -56,4 +60,8 @@ typedef enum { GPUPrimClass GPU_primtype_class(GPUPrimType); bool GPU_primtype_belongs_to_class(GPUPrimType, GPUPrimClass); +#ifdef __cplusplus +} +#endif + #endif /* __GPU_PRIMITIVE_H__ */ |