How to call SCM procedures from C

Achim Oppelt (aoppelt@scr.siemens.com)
Mon, 21 Aug 1995 17:18:03 -0400

Here is another stupid question I have:

Suppose I have an SCM object (say SCM proc;) that is actually a SCM
procedure. Is there any way to call this procedure from C if I don't know its
name? What I'm thinking of is something like gscm_apply(proc, ...) but I don't
want to apply it to a list (it doesn't take any arguments in my case).
Is there something like
GSCM_status gscm_eval(char **answer, GSCM_top_level toplvl, SCM proc);

I'm probably overlooking something elementary here. Can anybody help me?
Thanks.

Achim