[Pyrex] Does __Pyx_ImportType need to check struct sizes? (Cython-relevant, too)

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Jun 4 01:27:16 CEST 2009


Robert Bradshaw wrote:

> We could just check if the extension type is extern

That doesn't tell you anything, because there's nothing
stopping you from writing a .pxd file describing an
extension type in a non-Pyrex module (and in fact that's
the way I currently recommend -- extern extension
type declarations are really a holdover from before
the cimport mechanism existed).

-- 
Greg



More information about the Pyrex mailing list