Reported by linkmauve on 6 Nov 2015 02:20 UTC
When a module imports a declaration containing a ctuple from a pxd, the C declaration for the ctuple will be missing:
a.pyx:
cimport b
b.get_a_ctuple()
b.pxd:
cdef (int, int) get_a_ctuple()
The __pyx_ctuple_int__and_int struct and typedef will then be missing, while if get_a_ctuple had been declared in as module (even in a pxd) it would have been fine.
Reported by linkmauve on 6 Nov 2015 02:20 UTC When a module imports a declaration containing a ctuple from a pxd, the C declaration for the ctuple will be missing:
a.pyx:
b.pxd:
The
__pyx_ctuple_int__and_int
struct and typedef will then be missing, while ifget_a_ctuple
had been declared in as module (even in a pxd) it would have been fine.Migrated-From: http://trac.cython.org/ticket/873