Recipe for wrapping C++ files

Daniel Kochmański daniel at turtleware.eu
Wed May 24 17:08:45 UTC 2017


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



More information about the ecl-devel mailing list