"Thomas F. Burdick" <[EMAIL PROTECTED]> writes:
> Mario Mommer writes:
> 
>  > Does anyone have an example on how to call a cmucl function from C? I
>  > have enough if I can pass a single integer back to CMUCL.
>  > 
>  > I checked the manual, but it did not help at all.
> 
> There's an example of calling Lisp from C here:
> <http://www.cons.org/cmucl/doc/tcl-callback.html>

Thanks. (Thanks also to Edi Weitz, who sent the same link.)

> But, you might not need to do that at all.  Rather than call from C
> into Lisp, you might be able to turn the situation inside out.  Have a
> queue of objects in C-land that you wanted to pass to Lisp, and rather
> than calling into Lisp, add them to the queue.  In Lisp-land, pull
> items off the queue.

Hm, I have to think about it. In any case, after looking at the
example it doesn't seem so difficult to do it this way.

Regards,
        Mario.


Reply via email to