diff options
author | Jacques Lucke <jacques@blender.org> | 2020-03-02 17:09:10 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-03-02 17:09:10 +0300 |
commit | 680b70f093168af700eff2b74bafe41165f88c32 (patch) | |
tree | 0d21d3093022ee220addbea149f5022923dfeef1 /source/blender/editors/include/UI_resources.h | |
parent | 5de56f95966352cda588d3c830f73dfaa1c19412 (diff) |
Cleanup: make remaining editor include headers work in C++
Diffstat (limited to 'source/blender/editors/include/UI_resources.h')
-rw-r--r-- | source/blender/editors/include/UI_resources.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_resources.h b/source/blender/editors/include/UI_resources.h index 8730d945c81..c1de697b0c5 100644 --- a/source/blender/editors/include/UI_resources.h +++ b/source/blender/editors/include/UI_resources.h @@ -26,6 +26,10 @@ #include "BLI_sys_types.h" +#ifdef __cplusplus +extern "C" { +#endif + /* Define icon enum. */ #define DEF_ICON(name) ICON_##name, #define DEF_ICON_VECTOR(name) ICON_##name, @@ -444,4 +448,8 @@ const unsigned char *UI_ThemeGetColorPtr(struct bTheme *btheme, int spacetype, i void UI_make_axis_color(const unsigned char *src_col, unsigned char *dst_col, const char axis); +#ifdef __cplusplus +} +#endif + #endif /* __UI_RESOURCES_H__ */ |