C++ calling convention only

Benjamin Thaut via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Feb 20 04:23:29 PST 2015


On Thursday, 19 February 2015 at 21:34:57 UTC, John Colvin wrote:
>
> I would duplicate the declaration, once without extern(C++), 
> once with, the use the .mangleof from the 1st to set the mangle 
> of the 2nd with pragma(mangle

Yes that would work. But using pragma(mangle) feels so hacky...


More information about the Digitalmars-d-learn mailing list