Fix: Add extern "C" to RNA_enum_types.h
This commit is contained in:
parent
7ff0f896e8
commit
d1da2f0b9e
|
@ -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__ */
|
||||
|
|
Loading…
Reference in New Issue