From: Florian Gross Date: 2004-12-15T08:47:16+09:00 Subject: Re: 64-bit integers in Ruby/DL 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...