Ruby 4.0 リファレンスマニュアル

instance method Fiddle::Pointer#to_i

to_i -> IntegerRuby 2.0.0 から[permalink][rdoc][edit]
to_int -> Integer

自身が指すアドレスを整数で返します。