On Thursday, 19 February 2015 at 21:33:50 UTC, John Colvin wrote:
On Thursday, 19 February 2015 at 18:25:10 UTC, Benjamin Thaut wrote:
Is it possible to declare a function in D which gets the C++ calling convetion but not the C++ mangling?

Kind Regards
Benjamin Thaut

You can use pragma(mangle, ...) to set whatever mangling you like.

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

Reply via email to