[cffi-devel] Re: callback tests fail on sbcl 0.9.4 Linux x86

Luis Oliveira luismbo at gmail.com
Mon Oct 10 09:42:13 UTC 2005


On 10/out/2005, at 10:00, Immanuel Litzroth wrote:
> That is the void callback bug, no? Is there any progress on this? I 
> would like
> to try and port lambda-gtk to cffi-sbcl-linux and this is stopping me.

Yes. There is a work-around:

(eval-when (:compile-toplevel :load-toplevel :execute)
    (setf sb-alien::*values-type-okay* t))

Put that before declaring the void callbacks.

HTH

-- 
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