Build-system: Use C-linkage for internal interface header

That way the header can be included in C++ files.
This commit is contained in:
2021-03-01 16:24:07 +01:00
parent fdb2c24c09
commit b35a3933ee
3 changed files with 10 additions and 2 deletions

View File

@@ -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