[Pyrex] Wrapping structs that reference each other

Michael JasonSmith mpj17 at student.canterbury.ac.nz
Mon Sep 27 05:17:12 CEST 2004


On Mon, 2004-09-27 at 14:43, Greg Ewing wrote:
> > How do I do forward declarations in Pyrex?
> Like this:
> 
>   cdef struct _xmlNode   # Forward declaration of xmlNode
> 
>   cdef struct _xmlDoc:
>     _xmlNode root
I should look at creating an example of forward declarations in my
guide. Thanks for the lesson, Greg :)
-- 
Michael JasonSmith                                   http://www.ldots.org/





More information about the Pyrex mailing list