[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Invoking guile procs from C in an efficient way
From: |
Victor Morilla |
Subject: |
Invoking guile procs from C in an efficient way |
Date: |
Mon, 25 Oct 2004 13:12:29 +0200 (CEST) |
Hello,
I would like to know the best way to resolve a proc symbol from its name and call it from c. Right now, I'm using:
SCM proc = scm_c_eval_string("my_proc");
scm_apply(proc, argslist, SCM_EOL);
Is there an alternative to scm_c_eval_string ? I have used scm_c_lookup
SCM proc = scm_c_lookup("my_proc");
scm_apply(proc, argslist, SCM_EOL);
, but I get an error
Thanks in advance
- Invoking guile procs from C in an efficient way,
Victor Morilla <=