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_cloth.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/blender/blenkernel/BKE_cloth.h') diff --git a/source/blender/blenkernel/BKE_cloth.h b/source/blender/blenkernel/BKE_cloth.h index 883f4a137e7..d5fb55af06c 100644 --- a/source/blender/blenkernel/BKE_cloth.h +++ b/source/blender/blenkernel/BKE_cloth.h @@ -26,6 +26,10 @@ #include #include "BLI_math_inline.h" +#ifdef __cplusplus +extern "C" { +#endif + struct ClothModifierData; struct CollisionModifierData; struct Depsgraph; @@ -299,4 +303,8 @@ void cloth_parallel_transport_hair_frame(float mat[3][3], //////////////////////////////////////////////// +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3