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.
This commit is contained in:
2020-07-28 16:32:30 +02:00
parent 9c1da81a4c
commit b274d18aec
94 changed files with 483 additions and 72 deletions

View File

@@ -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