guile-devel
[Top][All Lists]
Advanced

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

Re: scm_symbol_binding substitute?


From: Marius Vollmer
Subject: Re: scm_symbol_binding substitute?
Date: 03 Nov 2001 19:14:43 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

address@hidden writes:

> since 'scm_symbol_binding' is deprecated (and doesn't exist in guile
> 1.7.0), what is the appropriate substitute for this function?

When the obarray is `#f', use

    scm_variable_ref (scm_lookup (symbol));

You shouldn't use actual obarrays at all.  Use a hash table instead,
with functions like scm_hashq_ref, scm_hashq_set_x, etc.



reply via email to

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