On Wednesday, 28 October 2015 at 17:07:32 UTC, Vincent R wrote:
Sorry to ask so much question but how do you declare different calling conventions like the following macro:

This specific case is common enough to be built into the language: use `extern(System)` instead of Windows or C and the one declaration will work on both.

And if there is an easy fix what about writing it inside the wiki page:
http://wiki.dlang.org/D_binding_for_C

You can edit a wiki yourself!

Reply via email to