Here: https://common-lisp.net/project/ecl/static/manual/ch28.html And here: https://common-lisp.net/project/ecl/static/ecldoc/Extensions.html#Foreign-Function-Interface
Иван Трусков writes: > Thanks! > However, it contains only examples of calling lisp from C. > Are there examples of calls going both ways? After some search I have found > about CFFI which may be just what I need. Are there examples for using CFFI > alongside ECL? > > среда, 24 мая 2017 г. пользователь Daniel Kochmański написал: > >> Hey, >> >> this tutorial may be useful to you: >> >> https://common-lisp.net/project/ecl/index.html#orgheadline10 >> >> Best regards, >> Daniel >> >> >> Иван Трусков writes: >> >> > Hello >> > How can one bridge between C++ objects and CL? For example, given a class >> > to the lines of >> > >> > class A >> > { >> > public: >> > A(int q, int w); >> > ~A(); >> > void foo(int q); >> > int bar(); >> > }; >> > >> > that has its instances wrapped in smart pointers, how can that >> > functionality be made available from embedded Common Lisp? >> > Sorry if that's too general of a question. I am somewhat ignorant at the >> > moment, and would appreciate any tips as to where to dig to solve that >> >> -- >> Daniel Kochmański ;; aka jackdaniel | Przemyśl, Poland >> TurtleWare - Daniel Kochmański | www.turtleware.eu >> >> "Be the change that you wish to see in the world." - Mahatma Gandhi >> -- Daniel Kochmański ;; aka jackdaniel | Przemyśl, Poland TurtleWare - Daniel Kochmański | www.turtleware.eu "Be the change that you wish to see in the world." - Mahatma Gandhi