diff options
author | Jacques Lucke <jacques@blender.org> | 2020-03-02 17:07:49 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-03-02 17:07:49 +0300 |
commit | 5de56f95966352cda588d3c830f73dfaa1c19412 (patch) | |
tree | 5f71cd37d5ebc1dbe69ef5df4b365c3e6df95b00 /source/blender/blenkernel/BKE_shrinkwrap.h | |
parent | cf93b65a65f948d4014d3fd2f7541ffe1b2209d4 (diff) |
Cleanup: make remaining blenkernel headers work in C++
Diffstat (limited to 'source/blender/blenkernel/BKE_shrinkwrap.h')
-rw-r--r-- | source/blender/blenkernel/BKE_shrinkwrap.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_shrinkwrap.h b/source/blender/blenkernel/BKE_shrinkwrap.h index e90b1429c9d..5edde7441de 100644 --- a/source/blender/blenkernel/BKE_shrinkwrap.h +++ b/source/blender/blenkernel/BKE_shrinkwrap.h @@ -27,6 +27,10 @@ #include "BKE_bvhutils.h" #include "BLI_bitmap.h" +#ifdef __cplusplus +extern "C" { +#endif + /* * Shrinkwrap is composed by a set of functions and options that define the type of shrink. * @@ -185,4 +189,8 @@ void BKE_shrinkwrap_snap_point_to_surface(const struct ShrinkwrapTreeData *tree, 0, \ } +#ifdef __cplusplus +} +#endif + #endif /* __BKE_SHRINKWRAP_H__ */ |