Bruce Korb <[EMAIL PROTECTED]> writes: > With the final piece being the C code: > > SCM proc = scm_c_eval_string ("eval-string-from-file");
This is probably fine, but you might also want to try the scm_c_module_lookup function(s). They should be a little bit more efficient: SCM proc = scm_variable_ref(scm_c_lookup("eval-string-from-file")); There's also a SCM_VARIABLE_REF macro. > SCM res = scm_call_3 (proc, str, file, line); > // Let's forget columns -- we don't have scm_call_4. Actually it looks like there is a scm_call_4. > I'll give this a spin and let you know if it works shortly > (a day or two). Thank you. (I still think adding it to libguile > would not hurt.) It could be worth adding something like this to Guile, but I'd need to think a bit more about what might be most generally useful. -- Rob Browning rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel