On 25/01/2011 0.47, Mike Pall wrote:
Notes like this, and many others you posted here, will be invaluable in the documentation/FAQ. (that's another way to say: we know you're overworked, but please try to collect them for inclusion in the docs, if you can)1. On x86, you can pass the components of the struct to simulate pass-by-value, i.e.: ffi.C.objc_msgSend(r, s, 0, 0, 32, 32, a, b) This doesn't work on x64 because of the crazy rules for passing structs by value in the x64 ABI.
-- Enrico