diff options
author | Julian Eisel <julian@blender.org> | 2021-03-01 18:24:07 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-03-01 18:30:51 +0300 |
commit | b35a3933eee7b8f1977ccd711c1ecd862bf618e5 (patch) | |
tree | c328e266ad3deec5c0f81421d5d77d398a8fee49 /source/blender | |
parent | fdb2c24c097d9a4613493659533863efc3c6f809 (diff) |
Build-system: Use C-linkage for internal interface header
That way the header can be included in C++ files.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/interface/interface_intern.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h index 3da66d45abd..7e931eae749 100644 --- a/source/blender/editors/interface/interface_intern.h +++ b/source/blender/editors/interface/interface_intern.h @@ -31,6 +31,10 @@ #include "UI_interface.h" #include "UI_resources.h" +#ifdef __cplusplus +extern "C" { +#endif + struct ARegion; struct AnimationEvalContext; struct CurveMapping; @@ -1200,3 +1204,7 @@ bool ui_jump_to_target_button_poll(struct bContext *C); /* interface_queries.c */ void ui_interface_tag_script_reload_queries(void); + +#ifdef __cplusplus +} +#endif |