Why can't we use strings in C++ methods?

Dadoum dadoum at protonmail.com
Sat Nov 4 15:24:16 UTC 2023


On Saturday, 4 November 2023 at 14:33:56 UTC, Basile B. wrote:
> [...]
> Now there is still the question whether the `extern(C)` code 
> will work as expected or not.

So with few patches could we make it work? DMD can write the C++ 
function prototype (as it does it with `extern (C)`) and then 
mangle it as the template it uses in C?


More information about the Digitalmars-d-learn mailing list