guile-user
[Top][All Lists]
Advanced

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

Geting the value of a top level scheme value from C


From: Richard Shann
Subject: Geting the value of a top level scheme value from C
Date: Fri, 24 Jan 2014 16:54:05 +0000

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?

That is, in the Scheme I have

(define foo "bar")

Then in C I want to write

SCM bar = scm_var_c_get_val ("foo");//imaginary function name

strcmp ("bar", scm_to_locale_string (bar));

etc...

Richard Shann





reply via email to

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