guile-user
[Top][All Lists]
Advanced

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

Re: Deprecation question - is proposed code-change back-portable to V1.8


From: Ian Hulin
Subject: Re: Deprecation question - is proposed code-change back-portable to V1.8.7?
Date: Fri, 17 Aug 2012 00:04:28 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0

Hi Ludo,

Many thanks for the quick response,

Cheers,

Ian

On 16/08/12 14:51, Ludovic � wrote:
> Hi,
> 
> Ian Hulin <address@hidden> skribis:
> 
>> From looking at the docs following the recommendations in the 
>> deprecation messages, it looks like the offending line needs to
>> change to return scm_module_variable ( module, sym);
>> 
>> Does scm_module_variable internally do what
>> scm_module_lookup_closure did,
> 
> Yes.
> 
>> and if so, does Guile 1.8.7 do exactly the same as Guile 2.06?
> 
> Yes, but unfortunately, ‘scm_module_variable’ didn’t exist in
> Guile 1.8.  So you’ll have to #ifdef to use one or the other.
> 
> Thanks, Ludo’.
> 
> 
> 





reply via email to

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