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
:
> 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, g
Hello
I am trying to build and use ECL on windows machine under cygwin environment
However, evter it is built, there arises a problem when i try to compile
any lisp files, for example when running examples/build/readme.lisp
Inspecting with gsb gives the picture of stack overflow on handling some
ex
ile and run Maxima (and
> not only it) on Cygwin, so it is certainly possible. we turn threads off,
> however.
> As well, we add -D_GNU_SOURCE to C and CXX flags.
>
>
>
>
> On Mon, 15 Jul 2019 at 10:14, Иван Трусков wrote:
>
>> Hello
>> I am trying to build a
Hello. I am trying to make a library that makes use of 'STR' package and
link it into my C program.
I presumed that using :monolithic t flag would result in the static library
that contained all systems my library depends on. However it seems that is
not the case.
Here is my .asd file:
(defsystem
:monolithic t :init-name "init_lib_embedded_console")
>
> and then invoke it using
>
> extern void init_lib_embedded_console(cl_object);
> /* ... */
> cl_boot(argc, argv);
> ecl_init_module(NULL, init_lib_embedded_console);
>
> Am 29.11.20 um 13:17 schrieb Иван Трус
Przemyśl, Poland
>TurtleWare - Daniel Kochmański | www.turtleware.eu
>
>"Be the change that you wish to see in the world." - Mahatma Gandhi
>
>‐‐‐ Original Message ‐‐‐
>On Tuesday, 1 December 2020 22:01, Иван Трусков wrote:
>
>> Thank you very mu
I am trying to use a package function in my lisp library that will
later be called from a C application. To be precise, it is shorten
function from the str package.
Here is my lisp library text:
;; (require :str)
;; (use-package :str)
(defun echo-string (s)
(coerce (format nil "Recieved input:
Thanks for your explanation! I have changed lisp code to have package
definition and in-package declaration, and after that everything did
work (also, i per your advice used package name in symbol lookup in C
code).
There is one thing i would like to discuss a little bit further.
>The question yo