src/genny

Search:
Group by:
Source   Edit  

Macros

macro writeFiles(dir, lib: static[string])
This needs to be and the end of the file and it needs to be followed by: include generated/internal Source   Edit  

Templates

template exportConsts(body: untyped)
Exports a list of constants. Source   Edit  
template exportEnums(body: untyped)
Exports a list of enums. Source   Edit  
template exportObject(sym, body: untyped)
Exports an object, with these sections:
  • fields
  • constructor
  • procs
Source   Edit  
template exportProcs(body: untyped)
Exports a list of procs. Procs can just be a name doX or fully qualified with doX(int): int. Source   Edit  
template exportRefObject(sym, body: untyped)
Exports a ref object, with these sections:
  • fields
  • constructor
  • procs
Source   Edit  
template exportSeq(sym, body: untyped)
Exports a regular sequence.
  • procs section
Source   Edit