extern(Windows) behavior on non-Windows systems

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 11 15:52:01 PDT 2014


On 6/11/2014 3:27 PM, deadalnix wrote:
> On Wednesday, 11 June 2014 at 22:25:22 UTC, Walter Bright wrote:
>> It changes the calling convention and name mangling to match what Microsoft
>> uses for the Windows API.
>
> OK, but I don't get why you wouldn't be able to use
> extern(C/C++/Whatever) and it adapt to the system.

That's what it does now.


> Obviously there is something about windows that I'm not really aware of.

http://msdn.microsoft.com/en-us/library/zxk0tw93.aspx



More information about the Digitalmars-d mailing list