Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenkernel/BKE_subdiv_foreach.h')
-rw-r--r--source/blender/blenkernel/BKE_subdiv_foreach.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_subdiv_foreach.h b/source/blender/blenkernel/BKE_subdiv_foreach.h
index d9e0678670e..f1d4adda37c 100644
--- a/source/blender/blenkernel/BKE_subdiv_foreach.h
+++ b/source/blender/blenkernel/BKE_subdiv_foreach.h
@@ -26,6 +26,10 @@
#include "BLI_sys_types.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct Mesh;
struct Subdiv;
struct SubdivForeachContext;
@@ -167,4 +171,8 @@ bool BKE_subdiv_foreach_subdiv_geometry(struct Subdiv *subdiv,
const struct SubdivToMeshSettings *mesh_settings,
const struct Mesh *coarse_mesh);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __BKE_SUBDIV_FOREACH_H__ */