Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Fiddle::Pointer#eql?
eql?(other)
ext/fiddle/lib/fiddle/ffi_backend.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/ext/fiddle/lib/fiddle/ffi_backend.rb, line 455
def eql?(other)
return unless other.is_a?(Pointer)
self.to_i == other.to_i
end
Returns true if other wraps the same pointer, otherwise returns false.