Method: Rex::Struct2::CStruct#initialize

Defined in:
lib/rex/struct2/c_struct.rb

#initialize(*dts) ⇒ CStruct

Returns a new instance of CStruct.



78
79
80
81
82
83
84
# File 'lib/rex/struct2/c_struct.rb', line 78

def initialize(*dts)
  super()
  @name_table = [ ]
  @v = Rex::Struct2::CStruct_Values.new(self)

  return self.add_from_dt(*dts)
end