Fix: Add extern "C" to RNA_enum_types.h

This commit is contained in:
Jacques Lucke 2020-04-20 15:58:30 +02:00
parent 7ff0f896e8
commit d1da2f0b9e
1 changed files with 8 additions and 0 deletions

View File

@ -23,6 +23,10 @@
#include "RNA_types.h"
#ifdef __cplusplus
extern "C" {
#endif
struct bNodeSocketType;
struct bNodeTreeType;
struct bNodeType;
@ -317,4 +321,8 @@ const EnumPropertyItem *RNA_mask_local_itemf(struct bContext *C,
/* Non confirming, utility function. */
const EnumPropertyItem *RNA_enum_node_tree_types_itemf_impl(struct bContext *C, bool *r_free);
#ifdef __cplusplus
}
#endif
#endif /* __RNA_ENUM_TYPES_H__ */