Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Unit ¶
Unit represents a Delphi file (.pas). Create one with NewUnit, add constants with AddConstant and then generate the code with Generate.
func NewUnit ¶
NewUnit creates a new empty unit of the given name. You can call AddConstant on the Unit to fill it with constants. Call Generate when you are done to get the code.
func (*Unit) AddConstant ¶
AddConstant adds a byte array constant of the given name, with the given data to the unit.
Click to show internal directories.
Click to hide internal directories.