Cython has moved to github.
cython
view tests/compile/a_capi.pyx @ 724:4e4808271bdf
Bump version number.
| author | Robert Bradshaw <robertwb@math.washington.edu> |
|---|---|
| date | Thu Jun 12 16:53:51 2008 -0700 (3 years ago) |
| parents | |
| children |
line source
1 cdef public struct Foo:
2 int a, b
4 ctypedef struct Blarg:
5 int c, d
7 ctypedef public Foo Zax
9 cdef public class C[type C_Type, object C_Obj]:
10 pass
12 cdef public Zax *blarg
14 cdef api float f(Foo *x):
15 pass
17 cdef public void g(Blarg *x):
18 pass
20 cdef public api void h(Zax *x):
21 pass
