Again: FFI syntax

Fergus Henderson fjh at cs.mu.oz.au
Sun May 13 11:51:37 EDT 2001


On 12-May-2001, Sven Panne <Sven.Panne at informatik.uni-muenchen.de> wrote:
> callconv : <empty>            -- defaulting to 'ccall'
>          | 'ccall'
>          | 'stdcall'
>          | 'cplusplus'
>          | 'jvm'
>          | 'dotnet'

The calling convention should not necessarily default to 'ccall'.
That would not be appropriate for all implementations.

Instead, I think the default calling convention should be
implementation-dependent.

Also, implementations should be allowed to provide calling conventions
not on that list.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.




More information about the FFI mailing list