diff options
Diffstat (limited to 'tests/compile/nogil.h')
-rw-r--r-- | tests/compile/nogil.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/compile/nogil.h b/tests/compile/nogil.h index 42878109b..764a3fc8a 100644 --- a/tests/compile/nogil.h +++ b/tests/compile/nogil.h @@ -1,25 +1,13 @@ -#ifdef __cplusplus -extern "C" { -#endif extern DL_EXPORT(void) e1(void); extern DL_EXPORT(int*) e2(void); -#ifdef __cplusplus -} -#endif void e1(void) {return;} int* e2(void) {return 0;} -#ifdef __cplusplus -extern "C" { -#endif extern DL_EXPORT(PyObject *) g(PyObject*); extern DL_EXPORT(void) g2(PyObject*); -#ifdef __cplusplus -} -#endif PyObject *g(PyObject* o) {if (o) {}; return 0;} void g2(PyObject* o) {if (o) {}; return;} |