Subject:
Re: [ruby-ffi] am I misusing :pointer in a FFI::Struct?
From:
Chuck Remes
Date:
8/16/10 4:34 PM
To:
ruby-ffi@googlegroups.com

Done.

cr

On Aug 16, 2010, at 3:49 PM, Wayne Meissner wrote:

> Thats a bug in FFI::Pointer#inspect ... or more to the point, it
> probably does not define it (whereas JRuby does) - so you're getting
> the default ruby behaviour which is to print out the object's type and
> the object's address (which is not the pointer address, but ruby's
> internal address of the object itself).
> 
> If you print out foo[:ptr].address it should all look the same.
> 
> Can you file a bug in ruby-ffi's tracker, so this gets fixed?