fix #675: make 'by' a non-keyword also in .pyx files
[cython.git] / tests / compile / nogil.h
1 #ifdef __cplusplus
2 extern "C" {
3 #endif
4 extern DL_EXPORT(void) e1(void);
5 extern DL_EXPORT(int*) e2(void);
6 #ifdef __cplusplus
7 }
8 #endif
9
10 void e1(void) {return;}
11 int* e2(void) {return 0;}
12
13
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 extern DL_EXPORT(PyObject *) g(PyObject*);
19 extern DL_EXPORT(void) g2(PyObject*);
20 #ifdef __cplusplus
21 }
22 #endif
23
24 PyObject *g(PyObject* o) {return 0;}
25 void g2(PyObject* o) {return;}