Class: RgGen::CHeader::Component
- Inherits:
-
Core::OutputBase::Component
- Object
- Core::OutputBase::Component
- RgGen::CHeader::Component
- Defined in:
- lib/rggen/c_header/component.rb
Instance Method Summary collapse
Instance Method Details
#macro_definitions ⇒ Object
6 7 8 9 10 11 |
# File 'lib/rggen/c_header/component.rb', line 6 def macro_definitions [ @children.map(&:macro_definitions), @features.each_value.map(&:macro_definitions) ].flatten end |
#struct_definitions ⇒ Object
13 14 15 16 17 18 |
# File 'lib/rggen/c_header/component.rb', line 13 def struct_definitions [ @children.map(&:struct_definitions), @features.each_value.map(&:struct_definitions) ].flatten end |