class PEdump::ImportedFunction

Public Instance Methods

==(x) click to toggle source
# File lib/pedump.rb, line 549
def == x
  self.hint == x.hint && self.name == x.name && self.ordinal == x.ordinal &&
    self.module_name == x.module_name
end
eql?(x) click to toggle source
# File lib/pedump.rb, line 562
def eql? x
  self.hint == x.hint && self.name == x.name && self.ordinal == x.ordinal &&
    self.module_name == x.module_name
end
hash() click to toggle source

magic to be able to easy merge :first_thunk & :original_first_thunk arrays (keeping va different)

# File lib/pedump.rb, line 559
def hash
  [hint,name,ordinal,module_name].hash
end