Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-07-28 17:32:30 +0300
committerJacques Lucke <jacques@blender.org>2020-07-28 17:33:43 +0300
commitb274d18aec525621bcb0a2234fc65e09398616c2 (patch)
treeec4310013623197f5bac2eb51c200503d898bd06 /source/blender/python/intern/bpy_rna_anim.h
parent9c1da81a4c173437c1e556afde7b32eef4b0a47d (diff)
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.
Diffstat (limited to 'source/blender/python/intern/bpy_rna_anim.h')
-rw-r--r--source/blender/python/intern/bpy_rna_anim.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_rna_anim.h b/source/blender/python/intern/bpy_rna_anim.h
index 7630c268bbe..88537778dde 100644
--- a/source/blender/python/intern/bpy_rna_anim.h
+++ b/source/blender/python/intern/bpy_rna_anim.h
@@ -21,6 +21,10 @@
* \ingroup pythonintern
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern char pyrna_struct_keyframe_insert_doc[];
extern char pyrna_struct_keyframe_delete_doc[];
extern char pyrna_struct_driver_add_doc[];
@@ -31,4 +35,8 @@ PyObject *pyrna_struct_keyframe_delete(BPy_StructRNA *self, PyObject *args, PyOb
PyObject *pyrna_struct_driver_add(BPy_StructRNA *self, PyObject *args);
PyObject *pyrna_struct_driver_remove(BPy_StructRNA *self, PyObject *args);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __BPY_RNA_ANIM_H__ */