[OT] #define

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon May 22 11:48:44 PDT 2017


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.




More information about the Digitalmars-d-learn mailing list