[Pyrex] newby guidance

Robin Becker robin at reportlab.com
Wed Jun 25 20:02:48 CEST 2003


I want to utilize a large C struct in both pyrex and C. I already have a
defining header file so the C code just imports the header.

Can I make use of pyrex to create my struct and pass it around to C code
without defining the struct again in pyrex? 

I'm a bit confused about how this all works. I had imagined naively that
one could somehow just wrap the struct using the header file and add
methods in pyrex.
-- 
Robin Becker




More information about the Pyrex mailing list