Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

Fiddle::Pointer#to_int

to_int

Alias of #to_i

Returns the integer memory location of this pointer.

See also #to_i #to_s #size= #to_str also in 3.4 · 3.2 · 3.1 · 3.0