diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_mesh_mapping.h')
-rw-r--r-- | source/blender/blenkernel/BKE_mesh_mapping.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_mesh_mapping.h b/source/blender/blenkernel/BKE_mesh_mapping.h index 65f090302be..9864cc4d28d 100644 --- a/source/blender/blenkernel/BKE_mesh_mapping.h +++ b/source/blender/blenkernel/BKE_mesh_mapping.h @@ -23,6 +23,10 @@ * \ingroup bke */ +#ifdef __cplusplus +extern "C" { +#endif + struct MEdge; struct MLoop; struct MLoopTri; @@ -251,4 +255,8 @@ int *BKE_mesh_calc_smoothgroups(const struct MEdge *medge, CHECK_TYPE_ANY(_v, unsigned int, const unsigned int, int, const int)), \ (((_tri)[0] == _v) ? 0 : ((_tri)[1] == _v) ? 1 : ((_tri)[2] == _v) ? 2 : -1)) +#ifdef __cplusplus +} +#endif + #endif /* __BKE_MESH_MAPPING_H__ */ |