Incorporating D

Walter Bright newshound2 at digitalmars.com
Sat Jan 26 02:18:11 PST 2013


On 1/26/2013 1:41 AM, Johannes Pfau wrote:
> IIRC toStringz is also dangerous. You have to make sure that the C
> library does not store the pointer or also store it manually so the GC
> can find it. (This is not different from passing other C/D pointers, but
> with toStringz it's easy to miss).

That's not a bug in the GC, though.



More information about the Digitalmars-d mailing list