Passing string from D to c++

Dicebot public at dicebot.lv
Tue Jul 30 13:53:53 PDT 2013


On Tuesday, 30 July 2013 at 20:22:46 UTC, Milvakili wrote:
> Thanks.  Is there any work in progress related to string 
> passing?
> I think string passing should be solved automatically.
>
> Coz otherwise one need to write wrapper for each c++ function 
> that has a string parameter.
>
> thanks.

c_function(toStringz("hello").ptr) does not seem that bad, what 
is the issue here?


More information about the Digitalmars-d mailing list