Class: AutoC::SystemHeader
Overview
Helper class to inject a system-wide header into the C side interface part of the module
Constant Summary
Constants included from Entity
Instance Method Summary collapse
-
#initialize(header) ⇒ SystemHeader
constructor
A new instance of SystemHeader.
Methods inherited from Code
Methods included from Entity
#<=>, #complexity, #dependencies, #forward_declarations, #implementation, #interface, #position, #references, #total_dependencies, #total_references
Constructor Details
#initialize(header) ⇒ SystemHeader
Returns a new instance of SystemHeader.
430 431 432 433 434 |
# File 'lib/autoc/module.rb', line 430 def initialize(header) super interface: %{ #include <#{header}> } end |