Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] writes: >> Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: >> >> > [EMAIL PROTECTED] writes: >> >> How are grobs created by make_item from within perfomers protected >> >> from GC? I couldn't find any container object which calls their >> >> mark_smob function. (I'm rather tired right now, so I suspect I am >> >> overlooking something very simple.) >> > >> > Have a look at the smobify_self() function. (ly-smobs.hh/icc) >> >> I understand. My mind hasn't been working very well, I am afraid. >> How do these grobs get garbage collected once we are done with them? > > System::typeset_grob() unprotects them, and the grobs perish with the > System.
Thank you. This is precisely what I was missing. -- Michael Welsh Duggan ([EMAIL PROTECTED]) _______________________________________________ lilypond-devel mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-devel