lilypond-devel
[Top][All Lists]
Advanced

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

Re: Now this is a nightmare...


From: David Kastrup
Subject: Re: Now this is a nightmare...
Date: Wed, 04 Jul 2018 13:29:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Werner LEMBERG <address@hidden> writes:

>> We probably need some ly_is_integer instead that also checks for
>> scm_exact_p or so?  Guile-2.0 has scm_is_exact_integer but Guile-1
>> apparently not.
>
> What about emulating `scm_is_exact_integer', either in Scheme or in
> C++?  This should make transition to Guile-2 simple.

You mean, complex.  Get it wrong, and our private version is getting
linked and the Guile-2 version left out.  Or we get double-definition
link-time errors.  So we want an autoconf test and so on.

Having our own ly_is_integer variant map to the Guile-2 version
conditionally is simple, and when we do it wrong, there is an obvious
missing symbol at link time.  Or stuff works without complaint.

-- 
David Kastrup



reply via email to

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