[cffi-devel] Lispworks FLI to CFFI translation question

Luís Oliveira luismbo at gmail.com
Fri Jan 15 22:16:46 UTC 2010


On Fri, Jan 15, 2010 at 1:10 PM, Frank Goenninger <frgo at mac.com> wrote:
> (fli:define-foreign-type pfunc (&rest fargs)
>   `(:ptr (:function , at fargs)))
>
> How would I translate this into a suitable CFFI definition? And why/how?

We don't have function pointer types (yet) so you should simply use :pointer.

-- 
Luís Oliveira
http://r42.eu/~luis/




More information about the cffi-devel mailing list