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. Cheers, Simon
"Simon Marlow" <simonmar@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
participants (2)
-
Manuel M. T. Chakravarty -
Simon Marlow