Skip to content

End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

Fiddle::Pointer#-

ptr - n => new cptr

Returns a new pointer instance that has been moved back n bytes.

See also #+@ #-@ #+ #<=> also in 3.4 · 3.3 · 3.1 · 3.0