[cffi-devel] CFFI and Allegro common lisp
Luís Oliveira
luismbo at gmail.com
Thu Jan 5 21:34:21 UTC 2012
On Thu, Jan 5, 2012 at 9:28 PM, Robert Goldman <rpgoldman at sift.info> wrote:
>> Hm - why not check back with Franz? I had the impression ACL 64bit *does* support long long. Any specific tests I could run that would convince all of us ? (I do have 64bit ACL on Windows).
Yes, please run the test suite. That'd be very helpful. Let us know if
you have trouble compiling the libtest DLL.
> The manual says not. If you look at the list of primitive types at this
> page:
>
> http://www.franz.com/support/documentation/8.2/doc/ftype.htm#primitive-types-1
>
> Here's a snippet from their foreign types grammar:
>
> primitive-type := :fixnum
> :int
> :long
> :short
> :char
> :void
> :unsigned-int
> :unsigned-long
> :unsigned-short
> :unsigned-char
> :float
> :double
> :nat
> :unsigned-nat
:nat and :unsigned-nat is what we're using for implementing CFFI's
:[unsigned-]long-long. That same page says ":nat and :unsigned-nat:
:nat is short for "natural", and is intended to be the size of integer
which fits into the natural word size of the machine - 32 bits on a
32-bit lisp and 64 bits on a 64-bit lisp."
Cheers,
--
Luís Oliveira
http://r42.eu/~luis/
More information about the cffi-devel
mailing list