make-alpha
[Top][All Lists]
Advanced

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

Re: Guile integration and UTF-8


From: Ludovic Courtès
Subject: Re: Guile integration and UTF-8
Date: Fri, 27 Sep 2013 13:36:22 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Paul Smith <address@hidden> skribis:

> On Wed, 2013-09-25 at 18:26 +0200, Ludovic Courtès wrote:
>>   #ifdef HAVE_SCM_FROM_UTF8_STRING
>>     scm_eval_string (scm_from_utf8_string (argv[0]));
>>   #else /* Guile 1.8 */
>>     scm_c_eval_string (argv[0]);
>>   #endif
>
> Rather than adding a check to configure.ac, I just checked
> SCM_MAJOR_VERSION < 2 and if so didn't use scm_from_utf8_string().

Turns out ‘scm_from_utf8_string’ was added in 2.0.1 (missing in 2.0.0,
but 2.0.0 is 2.5 years old and not widespread).

Ludo’.



reply via email to

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