[Pyrex] Same type does not resolve to itself when coming in through different .pxd files
Greg Ewing
greg.ewing at canterbury.ac.nz
Fri Nov 23 00:36:53 CET 2007
Dan Gindikin wrote:
> Lenard Lindstrom wrote:
> > "derived" is a class. But since structure F is declared in mymodule.pxd,
> > doesn't it have to be fully qualified as mymodule.F in main.pyx?
>
> I thought perhaps that was it, but when I tried it, I got "'F' is not a type
> identifier" error.
You may need a forward declaration, such as
cdef struct mymodule.F
--
Greg
More information about the Pyrex
mailing list