binding to C++

drug via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon May 29 00:32:19 PDT 2017


27.05.2017 02:44, Nicholas Wilson пишет:
>
> Thats weird. DMD may have got the mangling wrong. Could you post the
> exact mangling (i.e. non-demangled)? And if DMD has got it wrong and its
> just the one function you could just `pragma(mangle, ...);` it.
I use pragma(mangle, "...") (how I forget about it?) and it works now, 
so probable DMD have got the mangling wrong. Trying to reduce case, but 
code isn't trivial nether D nor C++ side...


More information about the Digitalmars-d-learn mailing list