[Ecls-list] Request for few examples and informations

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Fri Apr 8 19:56:01 UTC 2011


On Tue, Apr 5, 2011 at 7:45 PM, meh. <meh at paranoici.org> wrote:

> All the questions except one got answered by EQL's sources.
>
> The question that remains is, is there a way to just pass the va_list
> to a funcall like function or is there a way to know a function's
> arity?
>

There is no way to do that, because lisp functions may have &optional and
&key arguments, and that is processed internally by the function, not
publicly.


> And is there a way to not go to a shell when an error occurs during
> the load of a script?
>

See http://article.gmane.org/gmane.lisp.ecl.general/6741/match=cl_safe_eval


> Is there a way to convert a cl_object to a C bool?
>

#define cl_object_to_bool(x) (x != Cnil)

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110408/b15e2687/attachment.html>


More information about the ecl-devel mailing list