Class: FFI::Struct::InlineArray

Inherits:
Object
  • Object
show all
Defined in:
lib/sdl2.rb

Overview

FFI::Struct::InlineArray is modified to allow == operations, may not be effecient but seems to work.

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



19
20
21
# File 'lib/sdl2.rb', line 19

def ==(other)
  self.to_a == other.to_a
end