Hi,

Ian Hulin <i...@hulin.org.uk> 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