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: Ludovic Courtès
Subject: Re: Deprecation question - is proposed code-change back-portable to V1.8.7?
Date: Thu, 16 Aug 2012 15:51:03 +0200
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.1 (gnu/linux)

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]