lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GC question


From: Han-Wen Nienhuys
Subject: Re: GC question
Date: Mon, 24 May 2004 00:41:17 +0200

address@hidden writes:
> Han-Wen Nienhuys  <address@hidden> writes:
> 
> > address@hidden 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.

> (address@hidden)

-- 

 Han-Wen Nienhuys   |   address@hidden   |   http://www.xs4all.nl/~hanwen 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]