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:
authorJacques Lucke <jacques@blender.org>2020-03-02 17:09:10 +0300
committerJacques Lucke <jacques@blender.org>2020-03-02 17:09:10 +0300
commit680b70f093168af700eff2b74bafe41165f88c32 (patch)
tree0d21d3093022ee220addbea149f5022923dfeef1 /source/blender/editors/include/ED_view3d.h
parent5de56f95966352cda588d3c830f73dfaa1c19412 (diff)
Cleanup: make remaining editor include headers work in C++
Diffstat (limited to 'source/blender/editors/include/ED_view3d.h')
-rw-r--r--source/blender/editors/include/ED_view3d.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h
index a1bc3b028b6..66468275a1e 100644
--- a/source/blender/editors/include/ED_view3d.h
+++ b/source/blender/editors/include/ED_view3d.h
@@ -24,6 +24,10 @@
#ifndef __ED_VIEW3D_H__
#define __ED_VIEW3D_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* ********* exports for space_view3d/ module ********** */
struct ARegion;
struct BMEdge;
@@ -747,4 +751,8 @@ void ED_view3d_buttons_region_layout_ex(const struct bContext *C,
bool ED_view3d_local_collections_set(struct Main *bmain, struct View3D *v3d);
void ED_view3d_local_collections_reset(struct bContext *C, const bool reset_all);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __ED_VIEW3D_H__ */