Erik Sandberg wrote:
Hi,

I noticed that the self_scm_=SCM_EOL;
line is missing in many constructors of smobs, e.g. in Context. Is this safe?

I don't know about Guile internals, but I can imagine that smobify_self() could trigger a GC, which could do bad things. I don't understand why this would be less risky in classes which have no subclasses.

the self_scm_ is never marked, so yes, this is safe.



--
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to