lilypond-devel
[Top][All Lists]
Advanced

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

Re: lily-guile updates and CG: "Scheme->C interface" section. (issue 491


From: Carl . D . Sorensen
Subject: Re: lily-guile updates and CG: "Scheme->C interface" section. (issue 4917044)
Date: Fri, 19 Aug 2011 21:08:10 +0000


http://codereview.appspot.com/4917044/diff/1/lily/general-scheme.cc
File lily/general-scheme.cc (right):

http://codereview.appspot.com/4917044/diff/1/lily/general-scheme.cc#newcode110
lily/general-scheme.cc:110: if (scm_is_integer (s))
On 2011/08/19 20:20:12, Neil Puttock wrote:
On 2011/08/19 18:04:38, Carl wrote:

> I think the old code here is correct, and the doc-string is wrong.

Both are correct; the only difference is when Guile raises an error.
In
Bertrand's version, it's at the top of the code; in current master,
it's in the
block below when scm_to_int () is called.

OK, I see now.  I withdraw my objection to these changes.

As an aside, I think that we should change the definition of the
property align-dir.  It should no longer be called a direction, since
it's not limited to the values -1, 0, and 1.

But this is a discussion for another thread.

Thanks!

http://codereview.appspot.com/4917044/



reply via email to

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