No, I mean we basically run a sort on the vtabs, after everything is
imported.  This plus a sort on (something else) is sufficient to make
circular pxd imports work.

On Sat, Jun 7, 2008 at 6:02 PM, Greg Ewing <[EMAIL PROTECTED]> wrote:
> 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
>
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to