CHModule

Code structure for generation of a C header.

The content is structed as: doc header ifdef_guardbegin content ifdef_guard end

Note that the indent is suppressed.

Constructors

this
this(string ifdef_guard)

Members

Functions

render
string render()

Render the content as a string.

Variables

content
CModule content;

Main code content.

doc
CModule doc;

Document root.

header
CModule header;

Usually a copyright header.

Meta