guile-user
[Top][All Lists]
Advanced

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

Re: No gh_set_x()?


From: Marius Vollmer
Subject: Re: No gh_set_x()?
Date: 22 Jul 2001 21:17:18 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.102

"Steven G. Johnson" <address@hidden> writes:

> If it's useful, here is some code I wrote to do set! from C...it worked in
> Guile 1.3, although I haven't tested it recently.  One can probably come
> up with something cleaner.

Here is how to do it with CVS Guile:

    void my_set_x (const char *name, SCM val)
    {
      scm_variable_set_x (scm_c_lookup (name), val);
    }



reply via email to

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