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
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to