[armedbear-devel] Passing lisp objects from java to lisp

Blake McBride blake at mcbride.name
Sun Jan 24 02:22:57 UTC 2010


LispObject lispObject = JavaObject.getInstance(javaValue, true);

On Sat, Jan 23, 2010 at 7:58 PM, Blake McBride <blake at mcbride.name> wrote:

> Greetings,
>
> If I have a lisp function as follows:
>
>     (defun myfun (a b)
>         (+ a b))
>
> I want to be able to call it from lisp or java.  In other words I don't
> want the lisp side to have to use jobject-lisp-value.
>
> Therefore, from the java side, how do I take a java object and translate
> into a lisp object so that when I call the execute method the lisp function
> doesn't need jobject-lisp-value?
>
> Thanks.
>
> Blake McBride
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20100123/3d69c0b8/attachment.html>


More information about the armedbear-devel mailing list