On May 23, 2008, at 9:11 AM, Stefan Behnel wrote: > Hi, > > Greg Ewing wrote: >> Stefan Behnel wrote: >>> That sounds a bit like you are objecting to my proposal. What >>> would you see as >>> a better solution then? >> >> Make the relevant C struct a built-in Cython type >> (a plain C struct, not an extension type) and expose >> the buffer slots exactly the way they are. > > That's what I ended up doing. It's implemented in rev 586.
Yes, this certainly sounds like the right approach. - Robert _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
