[OT] #define

Andrew Edwards via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon May 22 22:02:06 PDT 2017


On Monday, 22 May 2017 at 18:48:44 UTC, Adam D. Ruppe wrote:
> On Monday, 22 May 2017 at 18:44:10 UTC, Andrew Edwards wrote:
>> Both happen to be the exact same. So does mean that for every 
>> function pointer in the file, I need to duplicate as such?
>
> You can use `extern(System)` or that case in D.
>
> It will be extern(Windows) on win an extern(C) elsewhere - just 
> like what the C is doing.

Okay... got it. Thanks.


More information about the Digitalmars-d-learn mailing list