FFI progress

Manuel M. T. Chakravarty chak at cse.unsw.edu.au
Sun Apr 29 23:51:17 EDT 2001


"Simon Marlow" <simonmar at microsoft.com> wrote,

> > In this context, I actually find it the identifier `stdcall'
> > strange.  Why is it standard?  I'd argue that ccall is the
> > standard (in fact, it so far was the default, wasn't it?)
> 
> It's known as 'stdcall' on Windows.  In fact, VC++ has __stdcall
> keyword.  All the Win32 API functions are declared __stdcall.  So, I
> guess that's why we called it stdcall in Haskell.

I guess, this makes it only standard when the context is
Windows :-)

Manuel




More information about the FFI mailing list