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

2009-07-01 Thread Bulat Ziganshin
Hello Duncan, Thursday, July 2, 2009, 2:57:29 AM, you wrote: You don't need it to be the same between Windows and Unix, it just has to be standard on each platform, which it is. There are really only two ABIs in common use on x86, the System V ABI and the MS one (which apart from the stdcall

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

2009-07-01 Thread Duncan Coutts
On Thu, 2009-07-02 at 03:01 +0400, Bulat Ziganshin wrote: Hello Duncan, Thursday, July 2, 2009, 2:57:29 AM, you wrote: You don't need it to be the same between Windows and Unix, it just has to be standard on each platform, which it is. There are really only two ABIs in common use on