From 5de56f95966352cda588d3c830f73dfaa1c19412 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Mon, 2 Mar 2020 15:07:49 +0100 Subject: Cleanup: make remaining blenkernel headers work in C++ --- source/blender/blenkernel/BKE_lightprobe.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/blender/blenkernel/BKE_lightprobe.h') diff --git a/source/blender/blenkernel/BKE_lightprobe.h b/source/blender/blenkernel/BKE_lightprobe.h index 153ad9bb915..dc9369ee56f 100644 --- a/source/blender/blenkernel/BKE_lightprobe.h +++ b/source/blender/blenkernel/BKE_lightprobe.h @@ -25,6 +25,10 @@ * \brief General operations for probes. */ +#ifdef __cplusplus +extern "C" { +#endif + struct LightProbe; struct Main; @@ -39,4 +43,8 @@ struct LightProbe *BKE_lightprobe_copy(struct Main *bmain, const struct LightPro void BKE_lightprobe_make_local(struct Main *bmain, struct LightProbe *probe, const bool lib_local); void BKE_lightprobe_free(struct LightProbe *probe); +#ifdef __cplusplus +} +#endif + #endif /* __BKE_LIGHTPROBE_H__ */ -- cgit v1.2.3