diff options
Diffstat (limited to 'tests/compile/crunchytype.pxd')
-rw-r--r-- | tests/compile/crunchytype.pxd | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/compile/crunchytype.pxd b/tests/compile/crunchytype.pxd index c03e38dad..c1f2b555b 100644 --- a/tests/compile/crunchytype.pxd +++ b/tests/compile/crunchytype.pxd @@ -1,4 +1,10 @@ -cdef extern from "crunchytype.h": +cdef extern from *: + """ + struct CrunchyType { + int number; + PyObject* string; + }; + """ cdef class crunchytype.Crunchy [ object CrunchyType ]: cdef int number cdef object string |