A question about moving GC

Unknown W. Brackets unknown at simplemachines.org
Fri Jun 9 07:20:56 PDT 2006


But what if I don't know where the foreign code is holding it?  The C 
library might not expose this, and then I'm out of luck... unless I can 
modify it, which I probably can't.

But, this is all theoretical anyway.  I can't even think of a library 
that keeps a pointer I give it.

-[Unknown]


> Unknown W. Brackets wrote:
>> But the question is for a "moving" GC, which might not consider a local
>> reference to mean "don't move it"...?
> 
> addroots will work with that.



More information about the Digitalmars-d-learn mailing list