D bindings for Bonjour

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Oct 28 10:28:03 PDT 2015


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!


More information about the Digitalmars-d-learn mailing list