Incorporating D

Walter Bright newshound2 at digitalmars.com
Sat Jan 26 13:14:35 PST 2013


On 1/26/2013 12:44 PM, Rainer Schuetze wrote:
> Please note that c_function is C/C++ code. The struct is allocated on the C
> heap, not in GC memory. "p = 0" clears the only reference in GC scanned memory
> to the char array allocated and returned by toStringz().


Oh, I see what you mean. You're right.


More information about the Digitalmars-d mailing list