diff options
Diffstat (limited to 'source/blender/python/intern/bpy.h')
-rw-r--r-- | source/blender/python/intern/bpy.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy.h b/source/blender/python/intern/bpy.h index 88d1db6f8bc..8f91c4e1208 100644 --- a/source/blender/python/intern/bpy.h +++ b/source/blender/python/intern/bpy.h @@ -21,6 +21,10 @@ #ifndef __BPY_H__ #define __BPY_H__ +#ifdef __cplusplus +extern "C" { +#endif + void BPy_init_modules(void); extern PyObject *bpy_package_py; @@ -31,4 +35,8 @@ void BPY_atexit_unregister(void); extern struct CLG_LogRef *BPY_LOG_CONTEXT; extern struct CLG_LogRef *BPY_LOG_RNA; +#ifdef __cplusplus +} +#endif + #endif /* __BPY_H__ */ |