diff options
Diffstat (limited to 'source/blender/python/intern/bpy_operator_wrap.h')
-rw-r--r-- | source/blender/python/intern/bpy_operator_wrap.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_operator_wrap.h b/source/blender/python/intern/bpy_operator_wrap.h index 5bb087540cc..942f9dbea39 100644 --- a/source/blender/python/intern/bpy_operator_wrap.h +++ b/source/blender/python/intern/bpy_operator_wrap.h @@ -23,6 +23,10 @@ struct wmOperatorType; +#ifdef __cplusplus +extern "C" { +#endif + /* these are used for operator methods, used by bpy_operator.c */ PyObject *PYOP_wrap_macro_define(PyObject *self, PyObject *args); @@ -30,4 +34,8 @@ PyObject *PYOP_wrap_macro_define(PyObject *self, PyObject *args); void BPY_RNA_operator_wrapper(struct wmOperatorType *ot, void *userdata); void BPY_RNA_operator_macro_wrapper(struct wmOperatorType *ot, void *userdata); +#ifdef __cplusplus +} +#endif + #endif |