2014/1/24 Richard Shann <rich...@rshann.plus.com>:
> Given a C string that is the name of a Scheme variable what is the call
> I need to make from C to get the value?
[...]

i think it is all well described here:
http://www.gnu.org/software/guile/manual/html_node/Accessing-Modules-from-C.html

however, note that according to the manual, you need to free the
result of scm_to_locale_string manually, in order not to get a memory
leak (because apparently it isn't magaged by the bdw gc), so passing
the result directly to strcmp is not a fortunate idea.

Reply via email to