[Cython] [cython-users] Re: callback function pointer problem
robertwb at math.washington.edu
Thu Oct 6 09:50:17 CEST 2011
On Wed, Oct 5, 2011 at 3:41 PM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> 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
They'd contain a copy, which I also think would match expectations
better as well.
More information about the cython-devel