Again: FFI syntax
Fergus Henderson
fjh at cs.mu.oz.au
Fri Jun 1 11:25:01 EDT 2001
On 01-Jun-2001, Manuel M. T. Chakravarty <chak at cse.unsw.edu.au> wrote:
> Fergus Henderson <fjh at cs.mu.oz.au> wrote,
>
> > I would be fine to say that some other name, e.g. `c', means that.
> > But `ccall' already has an existing meaning, and it would be
> > terribly confusing if e.g. MSVC and GNU C used `ccall' to mean one thing,
> > while Haskell used it to mean something different.
>
> Are you sure that ccall has a fixed meaning outside of the
> Haskell community?
Oh, sorry, I was mistaken. The name that MSVC and the Windows versions
of GNU C use is `cdecl'. Using `ccall' for Haskell should be fine.
Sorry for the confusion.
--
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