From 680b70f093168af700eff2b74bafe41165f88c32 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Mon, 2 Mar 2020 15:09:10 +0100 Subject: Cleanup: make remaining editor include headers work in C++ --- source/blender/editors/include/UI_view2d.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/blender/editors/include/UI_view2d.h') diff --git a/source/blender/editors/include/UI_view2d.h b/source/blender/editors/include/UI_view2d.h index e34f40d057d..17d950f5e40 100644 --- a/source/blender/editors/include/UI_view2d.h +++ b/source/blender/editors/include/UI_view2d.h @@ -28,6 +28,10 @@ #include "BLI_compiler_attrs.h" +#ifdef __cplusplus +extern "C" { +#endif + /* ------------------------------------------ */ /* Settings and Defines: */ @@ -273,4 +277,8 @@ void UI_view2d_smooth_view(struct bContext *C, /* Caller passes in own idname. */ void VIEW2D_GGT_navigate_impl(struct wmGizmoGroupType *gzgt, const char *idname); +#ifdef __cplusplus +} +#endif + #endif /* __UI_VIEW2D_H__ */ -- cgit v1.2.3