Florian Gross
12/14/2004 11:45:00 PM
Jamis Buck wrote:
> Is there any way, without modifying Ruby/DL itself, to specify
> a function that returns a 64-bit integer using Ruby/DL? And to pass
> a 64-bit integer to a function?
As far as I know Ruby/DL does not yet work properly on 64 bit platforms.
The author plans to fix that, but didn't have the time to do it when I
last contacted him.
I think this would involve changes in lots of places because Ruby/DL
seems to be using one-byte type tokens and .pack() internally. However
if you want to use the native bit-width of the system you will need to
use "L_" instead of "L" and so on in the pack arguments. So I think this
would involve changing the semantics in quite a few code locations...