fix #675: make 'by' a non-keyword also in .pyx files
[cython.git] / tests / compile / cargdef.pyx
1 # mode: compile
2
3 def f(obj, int i, float f, char *s1, char s2[]):
4     pass
5
6 cdef g(obj, int i, float f, char *s1, char s2[]):
7     pass
8
9 cdef do_g(object (*func)(object, int, float, char*, char*)):
10     return func(1, 2, 3.14159, "a", "b")
11
12 do_g(&g)