mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-07 04:14:19 +00:00
committed by
Andreas Rumpf
parent
d84ace8a5b
commit
a37e47d069
@@ -3025,9 +3025,9 @@ when not defined(JS): #and not defined(nimscript):
|
||||
proc endOfFile*(f: File): bool {.tags: [], benign.}
|
||||
## Returns true iff `f` is at the end.
|
||||
|
||||
proc readChar*(f: File): char {.tags: [ReadIOEffect], deprecated.}
|
||||
## Reads a single character from the stream `f`. **Deprecated** since
|
||||
## version 0.16.2. Use some variant of ``readBuffer`` instead.
|
||||
proc readChar*(f: File): char {.tags: [ReadIOEffect].}
|
||||
## Reads a single character from the stream `f`. Should not be used in
|
||||
## performance sensitive code.
|
||||
|
||||
proc flushFile*(f: File) {.tags: [WriteIOEffect].}
|
||||
## Flushes `f`'s buffer.
|
||||
|
||||
Reference in New Issue
Block a user