[Ecls-list] Calling "load" from si_safe_eval

Greg Santucci thecodewitch at gmail.com
Mon Jul 13 04:07:12 UTC 2009


I have embedded ECL into my C++ simulation, and I'd like to be able to call
"load" from the si_safe_eval function.

When I try the following, the error symbol is returned:

cl_object form = c_string_to_object("(load \"test.lsp\"");
cl_object result = si_safe_eval(3, form, Cnil, g_evalErrorSymbol);

Thank you for your help.

Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20090713/6735c2bd/attachment.html>


More information about the ecl-devel mailing list