[cffi-devel] CFFI problem in Lispworks 5.1 32-bit with :long-long emulation

Luís Oliveira luismbo at gmail.com
Tue Nov 24 23:11:21 UTC 2009


On Thu, Nov 19, 2009 at 5:33 PM, Matt Lamari <matt.lamari at gmail.com> wrote:
> (defcfun test :int64)
[...]
> The long-long gets through and fails in the lispworks-specific "Ecase"
> (that has them removed for non-64-bit lispworks).

Long-long emulation is not implemented for DEFCFUN, DEFCALLBACK, etc.
It turns out that Lispworks does in fact support long-long on 32-bit
platforms for DEFCFUN at least. Please let me know if the attached
patch works for you.

-- 
Luís Oliveira
http://r42.eu/~luis/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lispworks-32bit-llong.diff
Type: application/octet-stream
Size: 681 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20091124/2f2aced0/attachment.obj>


More information about the cffi-devel mailing list