At 05:04 AM 10/10/2001 -0400, Michel Lambert wrote: > > As we're using garbage collection we shouldn't need to do an explicit > > free though surely - in fact I'm not quite sure why string_destroy > > even exists... > >I'm not sure if the GC'ing will apply to strings, or just PMCs. I imagine >PMC's will be able to contain strings, and could handle GC strings that way?
I'm not sure if it'll be just PMCs, but we will be collecting memory allocated to string contents. Strings may or may not need an anchoring PMC to survive a GC pass. Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk