--- Begin Message ---
Subject: |
Calling guile procedures from c in an efficient way |
Date: |
Tue, 26 Oct 2004 00:42:43 -0700 (PDT) |
Hello !
I would like to know the best way to resolve a guile procedure from its name from c and invoke it. Now I'm using scm_c_eval_string:
SCM proc = scm_c_eval_string("my_proc");
scm_apply(proc, arglist, SCM_EOL);
I've tried to use scm_c_lookup but I get error:
SCM proc = scm_c_lookup("my_proc");
scm_apply(proc, arglist, SCM_EOL);
Any help ?
Thanks in advance
--- End Message ---