Interfacing with XPCOM
Tomas Lindquist Olsen
tomas at famolsen.dk
Sun Nov 30 19:16:02 PST 2008
Walter Bright wrote:
> John Reimer wrote:
>> So extern(System) does not translate to extern(C)? Does that mean
>> that all extern(System)'s in my code are defaulting to extern(D)?
>>
>> That'd be a shocker to me. :) If that's true, it would certainly
>> change my understanding of what I thought was making my code work. :D
>
> No, extern(System) does on linux just what it does on windows, it's just
> that there's no point to it on linux.
I thought the whole point of extern(System) was to provide a workaround when...
version(Windows)
extern(Windows):
else
extern(C):
...stopped working ?!?
from spec: "System is the same as Windows on Windows platforms, and C on other platforms"
More information about the Digitalmars-d
mailing list