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> 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. -- /|_ .-----------------------. ,' .\ / | No to Imperialist war | ,--' _,' | Wage class war! | / / `-----------------------' ( -. | | ) | (`-. '--.) `. )----'
