[cffi-devel] Callbacks in ECL

Luis Oliveira luismbo at gmail.com
Tue Oct 11 11:17:14 UTC 2005


On 11/out/2005, at 10:25, Juan Jose Garcia Ripoll wrote:
> Both the implementation of callbacks and of dynamically generated calls
> to C functions (SI::CALL-CFUN) are experimental code. Critics and
> suggestions are welcome.

I plan to update cffi-ecl.lisp soon since it's the backend that is 
lacking the most features, the only reason I haven't yet is because ECL 
doesn't like some of the code in cffi-luis/types.lisp (which I plan to 
rewrite). I won't be able to until later this month though.

So, I read about the new SI::CALL-CFUN in ECL's mailing list, should we 
use that in CFFI's %foreign-funcall primitive? (Therefore in DEFCFUN 
too?)

Does that mean ECL's FFI:LOAD-FOREIGN-LIBRARY now supports non-constant 
arguments? (only if we use SI::CALL-CFUN I suppose).

-- 
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/
Equipa Portuguesa do Translation Project
http://www.iro.umontreal.ca/translation/registry.cgi?team=pt




More information about the cffi-devel mailing list