On Thu, Jan 5, 2012 at 9:28 PM, Robert Goldman <rpgold...@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/

_______________________________________________
cffi-devel mailing list
cffi-devel@common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel

Reply via email to