C++ calling convention only

John Colvin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Feb 19 13:33:47 PST 2015


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.


More information about the Digitalmars-d-learn mailing list