Cython has moved to github.

cython-devel

view tests/compile/cargdef.pyx @ 908:7a1defb8455d

Function pointers as arguments, better errors for unnamed arguments.
author Robert Bradshaw <robertwb@math.washington.edu>
date Sat Aug 02 23:35:16 2008 -0700 (3 years ago)
parents 612957ef6e8f
children 0f6d684807e3
line source
1 def f(obj, int i, float f, char *s1, char s2[]):
2 pass
4 cdef g(obj, int i, float f, char *s1, char s2[]):
5 pass
7 cdef do_g(object (*func)(object, int, float, char*, char*)):
8 return func(1, 2, 3.14159, "a", "b")
10 do_g(&g)