Re: Recipe for wrapping C++ files

2017-05-24 Thread Daniel Kochmański
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

Re: Recipe for wrapping C++ files

2017-05-24 Thread Иван Трусков
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 написал: >

Re: Recipe for wrapping C++ files

2017-05-24 Thread 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

Recipe for wrapping C++ files

2017-05-24 Thread Иван Трусков
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 availabl