extern(Windows) behavior on non-Windows systems

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


On 6/11/2014 3:24 PM, deadalnix wrote:
> On Wednesday, 11 June 2014 at 22:20:27 UTC, Walter Bright wrote:
>> I've got an enhancement request to have it behave like extern(C):
>>
>>     https://issues.dlang.org/show_bug.cgi?id=12894
>>
>> Thoughts? Anyone use extern(Windows) on non-Windows systems?
>
> What is the extern(Windows) is supposed to do differently on
> windows than existing externs ?

It changes the calling convention and name mangling to match what Microsoft uses 
for the Windows API.


More information about the Digitalmars-d mailing list