Subject:
[ruby-ffi] Re: int size?
From:
rogerdpack
Date:
12/18/09 11:59 AM
To:
ruby-ffi

> LP64 (used by unix) says that long, long long, pointer are 64bit,
> everything else is the same as 32bit.

Interesting.
So ruby's "Fixnum" must internally be using a long...


>> (1<<61).class
=> Fixnum # on 32 bit, BigNum

That makes sense.
Thanks all!
-r