[Cython] [cython-users] Re: callback function pointer problem

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Oct 6 00:41:09 CEST 2011


Robert Bradshaw wrote:

> On this note, eventually I would like coerce structs (and unions,
> enums) to auto-generated wrapper classes, visible in the Python module
> namespace if one declares them as "cpdef struct ..."

Would these wrapper classes contain a copy of the struct,
or would they reference the struct? If they reference it,
there would be issues with the lifetime of the referenced
data.

-- 
Greg


More information about the cython-devel mailing list