From b274d18aec525621bcb0a2234fc65e09398616c2 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Tue, 28 Jul 2020 16:32:30 +0200 Subject: Cleanup: correct usage of extern-C blocks in various places This removes extern-C blocks around other includes and adds such blocks for some headers that need them. --- source/blender/python/intern/bpy_rna_types_capi.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/blender/python/intern/bpy_rna_types_capi.h') diff --git a/source/blender/python/intern/bpy_rna_types_capi.h b/source/blender/python/intern/bpy_rna_types_capi.h index 1049122e468..402dc2c7936 100644 --- a/source/blender/python/intern/bpy_rna_types_capi.h +++ b/source/blender/python/intern/bpy_rna_types_capi.h @@ -21,6 +21,14 @@ #ifndef __BPY_RNA_TYPES_CAPI_H__ #define __BPY_RNA_TYPES_CAPI_H__ +#ifdef __cplusplus +extern "C" { +#endif + void BPY_rna_types_extend_capi(void); +#ifdef __cplusplus +} +#endif + #endif /* __BPY_RNA_TYPES_CAPI_H__ */ -- cgit v1.2.3