From 5de56f95966352cda588d3c830f73dfaa1c19412 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Mon, 2 Mar 2020 15:07:49 +0100 Subject: Cleanup: make remaining blenkernel headers work in C++ --- source/blender/blenkernel/BKE_workspace.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/blender/blenkernel/BKE_workspace.h') diff --git a/source/blender/blenkernel/BKE_workspace.h b/source/blender/blenkernel/BKE_workspace.h index ea8978b7374..508a6179411 100644 --- a/source/blender/blenkernel/BKE_workspace.h +++ b/source/blender/blenkernel/BKE_workspace.h @@ -23,6 +23,10 @@ #include "BLI_compiler_attrs.h" +#ifdef __cplusplus +extern "C" { +#endif + struct Main; struct bScreen; struct bToolRef; @@ -112,4 +116,8 @@ void BKE_workspace_id_tag_all_visible(struct Main *bmain, int tag) ATTR_NONNULL( #undef GETTER_ATTRS #undef SETTER_ATTRS +#ifdef __cplusplus +} +#endif + #endif /* __BKE_WORKSPACE_H__ */ -- cgit v1.2.3