Okay, here's the scoop. All the GC related vtable stuff? Tossed. We 
now have exactly two entries.

mark: Called if the PMC has the PMC_custom_mark_FLAG set. Assumed to 
mark all the buffers and PMCs this PMC contains

collect: Called if the PMC has the PMC_private_GC_FLAG set. Any 
memory allocated by Parrot_allocate that is *not* pointed to by a PMC 
or Buffer *must* marked with Parrot_mark_used_memory(interpreter, 
from pointer, size).

Note that Parrot_mark_used_memory may move the memory and this will 
return a pointer to the memory's new location. (Don't discard the 
pointer, you'll regret it!
-- 
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                       teddy bears get drunk

Reply via email to