tests/example-project/src/pypackage/cython_ext_module.pxd
raw| 1 | |
| 2 | cdef int cfoo(int a, int b) except? -1 |
| 3 | cdef int cbar(int a, int b) except? -1 nogil |
| 4 | cdef inline int cspam(int a, int b) except? -1 nogil |
| 5 | |
| 6 | |
| 7 | cdef class Eggs: |
| 8 | cdef: |
| 9 | readonly int a |
| 10 | readonly int b |
| 11 | |
| 12 | cdef int foo(Eggs self) except? -1 |
| 13 | cdef int bar(Eggs self) except? -1 nogil |
| 14 | cdef int spam(Eggs self) except? -1 nogil |
| 15 | cpdef int fubar(Eggs self) |