C++ calling convention only

Benjamin Thaut via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Feb 21 10:24:20 PST 2015


Am 21.02.2015 um 11:30 schrieb "Marc =?UTF-8?B?U2Now7x0eiI=?= 
<schuetzm at gmx.net>":
>
> For C++, you can just use the newly added namespace support:
>
>      extern(C++, nobody.uses.this.name) myFunc() {}

Thats actually a good idea. Thanks.




More information about the Digitalmars-d-learn mailing list