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

Bulat Ziganshin bulat.ziganshin at gmail.com
Wed Jul 1 17:26:12 EDT 2009


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:
> http://refspecs.linux-foundation.org/LSB_3.1.0/LSB-Core-IA32/LSB-Core-IA32/normativerefs.html

sorry, it's "System V ABI, IA32 Supplement"

so situation is still the same - afaik, there is no common ABI for all
C compilers on x86 platform that describes structures passing and alignment


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list