Re: Returning structs in c_func
- Posted by jimcbrown (admin) Jul 03, 2013
- 2209 views
mattlewis said...
jimcbrown said...
mattlewis said...
I would rather return a sequence containing the data as it would appear if you peeked it as a memstruct.
I agree that this is the better approach, but we'd need to support memstructs first before this can be done.
Yes. But it makes my head hurt to think that we're going to do it wrong.
Matt
I think that if we have no other choice, then we do it this way first and fix it up later.
Of course, 4.1.0 is already under a feature freeze, so there's no real harm in implementing this in the memstructs branch itself, and merging it all in when it's ready.