[Ecls-list] Arrays to C and C to Arrays....

Waldek Hebisch hebisch at math.uni.wroc.pl
Sun Nov 8 23:55:31 UTC 2009


> From: Brad Beer <bradwbeer at gmail.com>
> > How can I convert C arrays to Lisp Arrays and vice-versa using only the FFI?
> 
> http://common-lisp.net/project/cffi/manual/html_node/Pointers.html should be
> enough for most needs.
>
 
The most important operation is getting address of Lisp array,
so that foreign code can operate on its content without copying.
Juanjo explained how to do this in ECL, and other implementation
seem to have their own way.  But last time when I checked I was
unable to find such an operation in CFFI (and also UFFI) manuals.
Are you saying it is there?

-- 
                              Waldek Hebisch
hebisch at math.uni.wroc.pl 




More information about the ecl-devel mailing list