ugh cannot get rid of rawEcho yet because old compiler relies on it
This commit is contained in:
parent
24ed9d560f
commit
e5eb36e472
1 changed files with 3 additions and 0 deletions
|
|
@ -107,6 +107,9 @@ proc writeln[Ty](f: TFile, x: openArray[Ty]) =
|
|||
for i in items(x): write(f, i)
|
||||
write(f, "\n")
|
||||
|
||||
proc rawEcho(x: string) {.inline, compilerproc.} = write(stdout, x)
|
||||
proc rawEchoNL() {.inline, compilerproc.} = write(stdout, "\n")
|
||||
|
||||
# interface to the C procs:
|
||||
proc fopen(filename, mode: CString): pointer {.importc: "fopen", noDecl.}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue