Using a cl_object in Lisp

Stewart M. sjm-mail at protonmail.com
Mon Jul 30 22:41:10 UTC 2018


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20180730/9627dff5/attachment.html>


More information about the ecl-devel mailing list