Cython has moved to github.
cython
view tests/compile/nogil.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 | b4df1d2367c5 |
| children | 5905f7b15cb2 |
line source
1 cdef extern object g(object x) nogil
2 cdef extern void g2(object x) nogil
4 cdef extern from "nogil.h":
5 void e1() nogil
6 int *e2() nogil
8 cdef void f(int x) nogil:
9 cdef int y
10 y = 42
12 cdef void h(object x) nogil:
13 cdef void *p
14 g2(x)
15 g2(<object>p)
16 p = <void *>x
17 e1()
18 e2()
