[Ecls-list] Calling "load" from si_safe_eval

Jean-Claude Beaudoin jean.claude.beaudoin at gmail.com
Mon Jul 13 04:43:31 UTC 2009


Maybe balancing the parentheses would help a bit:

cl_object form = c_string_to_object("(load \"test.lsp\")");


On Mon, Jul 13, 2009 at 12:07 AM, Greg Santucci <thecodewitch at gmail.com>wrote:

> 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
>
>
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20090713/5415f8d9/attachment.html>


More information about the ecl-devel mailing list