Re: [CM] question about s7_gc_protect

2021-09-15 Thread Iain Duncan
Great, thanks for the confirmation! :-) On Wed, Sep 15, 2021 at 3:41 PM wrote: > They will be safe as long as they are accessible from the > protected object. > > ___ Cmdist mailing list Cmdist@ccrma.stanford.edu

Re: [CM] question about s7_gc_protect

2021-09-15 Thread bil
They will be safe as long as they are accessible from the protected object. ___ Cmdist mailing list Cmdist@ccrma.stanford.edu https://cm-mail.stanford.edu/mailman/listinfo/cmdist

[CM] question about s7_gc_protect

2021-09-15 Thread Iain Duncan
Hi folks, I have some functions that recursively build trees of s7 objects from Max atoms. I am gc_protecting the top level object, but in the case that it might be a list or a hash, should I also be protecting child objects, or will they be safe as long as the parent is protected? thanks iain