lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 2443 in lilypond: Patch: Avoid "Parsed object


From: lilypond
Subject: Re: [Lilypond-auto] Issue 2443 in lilypond: Patch: Avoid "Parsed object should be dead" warning for saved init data
Date: Wed, 28 Mar 2012 19:17:46 +0000


Comment #8 on issue 2443 by address@hidden: Patch: Avoid "Parsed object should be dead" warning for saved init data
http://code.google.com/p/lilypond/issues/detail?id=2443

Ok, got it.

SCM
make_music_function (SCM signature, SCM func)
{
scm_set_object_property_x (func, ly_symbol2scm ("music-function-signature"),
                             signature);
[...]

The signature is implemented via object properties, and those are implemented via weak hash tables outside of the object itself. Not normally a problem, but if we have default values there that are a music expression, those will be considered to be of a type that should not make it across sessions, and not inside of an "undead" object where its survival would be permitted.

Have to think about that one.




reply via email to

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