Re[4]: [Haskell-cafe] Re: Could FFI support pass-by-value of structs?

2009-07-01 Thread Bulat Ziganshin
Hello Duncan, Tuesday, June 30, 2009, 4:18:32 AM, you wrote: Actually passing structs and unions as arguments or function results is specified by the C ABI. See for example the IA32 ABI: http://www.caldera.com/developers/devspecs/abi386-4.pdf linked from the LSB:

Re: Re[4]: [Haskell-cafe] Re: Could FFI support pass-by-value of structs?

2009-07-01 Thread Duncan Coutts
On Thu, 2009-07-02 at 01:26 +0400, Bulat Ziganshin wrote: Hello Duncan, Tuesday, June 30, 2009, 4:18:32 AM, you wrote: Actually passing structs and unions as arguments or function results is specified by the C ABI. See for example the IA32 ABI: