1234567891011121314 |
- proc printf(frmt: cstring) {.varargs, importc, header: "<stdio.h>", cdecl.}
- proc exit(code: int) {.importc, header: "<stdlib.h>", cdecl.}
- {.push stack_trace: off, profiler:off.}
- proc rawoutput(s: string) =
- printf("%s\n", s)
- proc panic(s: string) =
- rawoutput(s)
- exit(1)
- {.pop.}
|