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_driver.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/blender/python/intern/bpy_rna_driver.h') diff --git a/source/blender/python/intern/bpy_rna_driver.h b/source/blender/python/intern/bpy_rna_driver.h index 36160d7c867..a534f770732 100644 --- a/source/blender/python/intern/bpy_rna_driver.h +++ b/source/blender/python/intern/bpy_rna_driver.h @@ -25,10 +25,18 @@ struct ChannelDriver; struct DriverTarget; struct PathResolvedRNA; +#ifdef __cplusplus +extern "C" { +#endif + PyObject *pyrna_driver_get_variable_value(struct ChannelDriver *driver, struct DriverTarget *dtar); PyObject *pyrna_driver_self_from_anim_rna(struct PathResolvedRNA *anim_rna); bool pyrna_driver_is_equal_anim_rna(const struct PathResolvedRNA *anim_rna, const PyObject *py_anim_rna); +#ifdef __cplusplus +} +#endif + #endif /* __BPY_RNA_DRIVER_H__ */ -- cgit v1.2.3