Based on sighashes.nim but works on astdef directly as we need it in ast2nif.nim. Also produces more readable names thanks to treemangler.
Types
TypeLoader = proc (t: PType) {.nimcall.}
- Source Edit
Procs
proc cachedModuleSuffix(config: ConfigRef; fileIdx: FileIndex): string {. ...raises: [Exception, OSError], tags: [RootEffect], forbids: [].}
- Gets or computes the module suffix for a FileIndex. For NIF modules, the suffix is already stored in the file info. For source files, computes it from the path. Source Edit