lilypond-devel
[Top][All Lists]
Advanced

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

Re: Adds Scheme function for spring constructor. (issue 5306050)


From: dak
Subject: Re: Adds Scheme function for spring constructor. (issue 5306050)
Date: Fri, 21 Oct 2011 11:34:01 +0000

On 2011/10/21 11:27:34, dak wrote:
http://codereview.appspot.com/5306050/diff/2001/lily/spring-smob.cc
File lily/spring-smob.cc (left):


http://codereview.appspot.com/5306050/diff/2001/lily/spring-smob.cc#oldcode42
lily/spring-smob.cc:42: return a == b ? SCM_BOOL_T : SCM_BOOL_F;
On 2011/10/21 11:18:06, Neil Puttock wrote:
> Not sure why this doesn't use the DEFAULT_EQUAL_P macro.

I'd use scm_is_eq which is less obscure.  However, I have no idea
whether this
should not rather be scm_is_true (scm_is_eqv (a, b)) since otherwise
we'll just
compare for object identity rather than equal values.

Is object identity sufficient here?

Make that scm_is_true (scm_eqv_p (...

http://codereview.appspot.com/5306050/



reply via email to

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