[Cython] remaining Pyrex changes

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Jun 8 03:02:29 CEST 2008


Gary Furnish wrote:
> Classes already get forward declared; we thus just essentially run a
> dependency sorting algorithm on the classes to make sure they are
> output in the correct order and this gives us circular imports in pxd
> files.

You mean if a cimport references something that's
not defined yet, it's assumed to be a class?

That's not necessarily correct -- it could be a
struct or union, or a typedef referring to just
about any type.

-- 
Greg


More information about the Cython-dev mailing list