[cffi-devel] :int64 on 32-bit Lispworks Professional for Windows

Martin Simmons martin at lispworks.com
Mon Mar 2 12:32:05 UTC 2009


>>>>> On Mon, 2 Mar 2009 00:33:19 +0800, Chun Tian (binghe) said:
> 
> Just no long-long support in 32-bit LispWorks FLI. This also cause  
> IOlib not work on all 32-bit LispWorks (on Linux, Mac OS, ...)

That's not quite true.  The FLI in 32-bit LispWorks 5.1 supports the long-long
type for foreign function arguments and return values.

See http://www.mail-archive.com/cffi-devel@common-lisp.net/msg01174.html

> 
> On 2009-3-1, at 21:22, Andreas Thiele wrote:
> 
> > Hi,
> >
> > I get the following error
> >
> > Error: :LONG-LONG fell through ECASE expression.
> > Wanted one of (:CHAR :UNSIGNED-CHAR :SHORT :UNSIGNED- 
> > SHORT :INT :UNSIGNED-INT :LONG :UNSIGNED- 
> > LONG :FLOAT :DOUBLE :POINTER :VOID).
> >
> > when I try
> >
> >  (defcfun sqlite3-last-insert-rowid :int64
> >   (db p-sqlite3))
> >
> > I think :in64 or :long-long is emulated on 32-bit Lispworks?
> >
> > What should I do? The function works, if I use :int32, but I wonder  
> > why.
> >
> > Any hint or help appreciated.
> >
> >
> > Regards
> > Andreas
> > _______________________________________________
> > cffi-devel mailing list
> > cffi-devel at common-lisp.net
> > http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel
> 
> --
> Chun Tian (binghe)
> NetEase.com, Inc.
> P. R. China
> 
> 
> _______________________________________________
> cffi-devel mailing list
> cffi-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel
> 

-- 
Martin Simmons
LispWorks Ltd
http://www.lispworks.com/




More information about the cffi-devel mailing list