lilypond-devel
[Top][All Lists]
Advanced

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

Re: post-GDP doc team


From: Neil Puttock
Subject: Re: post-GDP doc team
Date: Tue, 12 Aug 2008 23:58:00 +0100

2008/8/7 Trevor Daniels <address@hidden>:

> You're right.  The value of 'layer is held as a real, but converted to an
> integer before use.  It seems all +ve and -ve integers are effective,
> though, so we still have quite a few discrete layers.  I'll incorporate
> the essentials of this in the NR.
>
> BTW, I can't find robust_scm2int.  Does this round or truncate?

Sorry Trevor, I missed this.

It's in lily-guile.cc. It does neither: it expects a scm integer, and
if that check fails, falls back to the default value. So in the case
of 'layer, if you set it to a real value, it's ignored; the layer will
be set to 1.

I've just changed the type check so this won't happen.

Regards,
Neil




reply via email to

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