Class: RgGen::CHeader::Utility::StructDefinition

Inherits:
Core::Utility::CodeUtility::StructureDefinition
  • Object
show all
Defined in:
lib/rggen/c_header/utility/struct_definition.rb

Instance Method Summary collapse

Constructor Details

#initialize(type, name, members) ⇒ StructDefinition

Returns a new instance of StructDefinition.



7
8
9
10
11
12
# File 'lib/rggen/c_header/utility/struct_definition.rb', line 7

def initialize(type, name, members)
  @type = type
  @name = name
  @members = members
  super()
end