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/ED_datafiles.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/blender/editors/include/ED_datafiles.h') diff --git a/source/blender/editors/include/ED_datafiles.h b/source/blender/editors/include/ED_datafiles.h index ada90205b4a..c1f5eddd8df 100644 --- a/source/blender/editors/include/ED_datafiles.h +++ b/source/blender/editors/include/ED_datafiles.h @@ -24,6 +24,10 @@ #ifndef __ED_DATAFILES_H__ #define __ED_DATAFILES_H__ +#ifdef __cplusplus +extern "C" { +#endif + /* Datafiles embedded in Blender */ extern int datatoc_startup_blend_size; @@ -300,4 +304,8 @@ extern char datatoc_gp_brush_erase_hard_png[]; extern int datatoc_gp_brush_erase_stroke_png_size; extern char datatoc_gp_brush_erase_stroke_png[]; +#ifdef __cplusplus +} +#endif + #endif /* __ED_DATAFILES_H__ */ -- cgit v1.2.3