[cffi-devel] Bug in uffi-compat::%deref-pointer

The function uffi-compat::%deref-pointer still calls cffi::translate-type-from-foreign, but the method is no longer available at least since the 31 may patch. The same is true for %deref-pointer setf expander and cffi::translate-type-to-foreign. I tried to use cffi::translate-{from|to}-foreign and it seems to work. Regards, Aurelio

On 20/06/07, Aurelio Bignoli <cffi@bignoli.it> wrote:
The function uffi-compat::%deref-pointer still calls cffi::translate-type-from-foreign[...]
Thanks for the bug report, should be fixed now; passes all the tests from uffi's suite.
I tried to use cffi::translate-{from|to}-foreign and it seems to work.
We don't even need to call that since mem-ref already takes care of type translations. -- Luís Oliveira http://student.dei.uc.pt/~lmoliv/
participants (2)
-
Aurelio Bignoli
-
Luís Oliveira