Alex Katebi wrote:
> Hi All,
> 
> How can I read and write 32bit or 64bit values into my C extension.
> 
> Thanks,
> -Alex

Check out the ruby.h header file. Look for macros for converting C 
numeric values to Ruby numeric values, such as LONG2NUM/NUM2LONG and 
LL2NUM/NUM2LL.
-- 
Posted via http://www.ruby-forum.com/.