[cffi-devel] Latest changes, (probably) no significant errors with CFFI
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Tue Apr 27 11:18:59 UTC 2010
I have fixed one more bug in ECL, this time related to the alignment of
elementary C types (double, int, etc). We now gather the information from
the compiler at compilation time, which is great, portable and robust.
With this fix CFFI, plus the patches I submitted for the CFFI test suite,
ECL has no unexpected failure and the output of the test suite is
4 out of 222 total tests failed: DEFCFUN.NOOP, CALLBACKS.BFF.1,
CALLBACKS.BFF.2,
STRING.ENCODINGS.ALL.BASIC.
There remain two question.
The simplest one is as follows: does it make sense to provide inline forms
for %foreign-type-size and %foreign-type-alignment, or are they use
scarcely?
The second question is whether CFFI itself produces inline forms of the
expressions dealing with foreign types. I mean conversion to/from lisp, etc.
Juanjo
--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://tream.dreamhosters.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20100427/7552e904/attachment.html>
More information about the cffi-devel
mailing list