diff options
author | Jacques Lucke <jacques@blender.org> | 2020-07-28 17:32:30 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-07-28 17:33:43 +0300 |
commit | b274d18aec525621bcb0a2234fc65e09398616c2 (patch) | |
tree | ec4310013623197f5bac2eb51c200503d898bd06 /source/blender/python/intern/bpy_props.h | |
parent | 9c1da81a4c173437c1e556afde7b32eef4b0a47d (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_props.h')
-rw-r--r-- | source/blender/python/intern/bpy_props.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_props.h b/source/blender/python/intern/bpy_props.h index d559a3493b4..9bcfe8e263a 100644 --- a/source/blender/python/intern/bpy_props.h +++ b/source/blender/python/intern/bpy_props.h @@ -21,6 +21,10 @@ #ifndef __BPY_PROPS_H__ #define __BPY_PROPS_H__ +#ifdef __cplusplus +extern "C" { +#endif + PyObject *BPY_rna_props(void); PyObject *BPy_PointerProperty(PyObject *self, PyObject *args, PyObject *kw); @@ -29,4 +33,8 @@ StructRNA *pointer_type_from_py(PyObject *value, const char *error_prefix); #define PYRNA_STACK_ARRAY RNA_STACK_ARRAY +#ifdef __cplusplus +} +#endif + #endif |