Re: Using a cl_object in Lisp

"Stewart M." <sjm-mail-g/[email protected]>
Newsgroups gmane.lisp.ecl.general
Message-ID <-I_eoen18QDETYZlVYciRL-hITCG6ACIvevi2RkIPT6i0RFQwnbWWSagzalzbtB29-BDSEUcdDnBuLoh0cSPRJnvnPi4b4vLOz-3oVRo-bw=@protonmail.com>
Hello Marius,

This was very helpful, thank you!

> Hi Stewart,
>
> cl_object's are declared as :object type in ECL's ffi, so
>
>      (ffi:def-function "getObject" ((lo :pointer-void)) :returning :object)
>      (ffi:def-function "setObject" ((lo :pointer-void) (clo :object)))
>
> should work. CFFI does not support this as far as i know.

> Hope that helps,
> Marius Gerbershagen

--
Stewart Milberger
Kavalogic, Inc.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.