Werner LEMBERG <w...@gnu.org> 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

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to