- filterMutable
auto filterMutable(RangeT range, Container container)
Undocumented in source. Be warned that the author may not have intended to support it.
- generateGlobalExterns
void generateGlobalExterns(RangeT range, CppModule impl, Container container)
Undocumented in source. Be warned that the author may not have intended to support it.
- generateInitGlobalsToZero
void generateInitGlobalsToZero(CppClass c, CppModule impl, StubPrefix prefix, LookupGlobalT lookup)
Generate an implementation of InitGlobal that initialize all globals to zero.
- makeGlobalInterface
CppClass makeGlobalInterface(RangeT range, CppClassName main_if)
Make a C++ "interface" class of all mutable globals.
- makeZeroGlobal
CppClass makeZeroGlobal(RangeT range, CppClassName main_if, StubPrefix prefix, CppInherit inherit)
The range must NOT contain any const globals.
- resolveTypedef
TypeKind resolveTypedef(TypeKind type, Container container)
Recursive lookup until the underlying type is found.
- variableToString
string variableToString(CppVariable name, TypeKindAttr type)
Undocumented in source. Be warned that the author may not have intended to support it.