extern(Windows) behavior on non-Windows systems
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jun 11 16:41:32 PDT 2014
On 6/11/2014 4:34 PM, Adam D. Ruppe wrote:
> On Wednesday, 11 June 2014 at 23:27:09 UTC, Walter Bright wrote:
>> Even Microsoft gave up on stdcall for Win64 and uses the C convention.
>
> I think that's because the 64 bit C convention is a lot closer to the stdcall
> convention anyway, putting more args in registers etc...
I just think that the purpose of having a separate Windows API calling
convention no longer makes any sense. It dates back to the 16 bit world when
Pascal had a different calling convention and a lot of people thought that was
better.
More information about the Digitalmars-d
mailing list