Re: Returning structs in c_func

new topic     » goto parent     » topic index » view thread      » older message » newer message
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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu