diff options
Diffstat (limited to 'lib/system/ansi_c.nim')
-rw-r--r-- | lib/system/ansi_c.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/ansi_c.nim b/lib/system/ansi_c.nim index febcbdcd4..76c78a3b9 100644 --- a/lib/system/ansi_c.nim +++ b/lib/system/ansi_c.nim @@ -113,7 +113,7 @@ proc c_signal*(sign: cint, handler: proc (a: cint) {.noconv.}): CSighandlerT {. type CFile {.importc: "FILE", header: "<stdio.h>", - incompletestruct.} = object + incompleteStruct.} = object CFilePtr* = ptr CFile ## The type representing a file handle. var @@ -142,7 +142,7 @@ proc c_realloc*(p: pointer, newsize: csize): pointer {. proc c_fwrite*(buf: pointer, size, n: csize, f: CFilePtr): cint {. importc: "fwrite", header: "<stdio.h>".} -proc rawWrite*(f: CFilePtr, s: cstring) {.compilerproc, nonreloadable, inline.} = +proc rawWrite*(f: CFilePtr, s: cstring) {.compilerproc, nonReloadable, inline.} = # we cannot throw an exception here! discard c_fwrite(s, 1, s.len, f) |