[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Dereferencing a symbol
From: |
mbarilli |
Subject: |
Dereferencing a symbol |
Date: |
Sat, 10 Jan 2004 14:58:38 -0600 |
User-agent: |
Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (gnu/linux) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Massive mental block after being away from Guile for several months
...
I've got a module that has some functions written in C. In a Guile
script I want to be able to do something like:
(set! foo <some-value>)
and in a C-based function find out the value currently bound to the
symbol `foo'. `scm_string_to_symbol( scm_makfrom0str("foo") )' gets
me the symbol, but how do I get its current value?
- --
Michael J. Barillier | ``Those who make peaceful
email: mbarilli(at)midsouth.rr.com | revolution impossible will make
web: <http://shadizar.dyndns.org/> | violent revolution inevitable.''
Public key available on request. | -- John F. Kennedy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAAGeE2CJ4zjXlSXMRAuSjAJ9fg3DkHnZ9HfVIkB3UspwyDIvjZwCeIRsL
TQgqd9QBHlbXPoGCNMeqkc8=
=w/aX
-----END PGP SIGNATURE-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Dereferencing a symbol,
mbarilli <=