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.