make streams.close more forgiving in order to break less code out there
This commit is contained in:
parent
b5991f52b9
commit
035134de42
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ type
|
||||||
## accessible so that a stream implementation
|
## accessible so that a stream implementation
|
||||||
## can override them.
|
## can override them.
|
||||||
closeImpl*: proc (s: Stream)
|
closeImpl*: proc (s: Stream)
|
||||||
{.nimcall, raises: [Defect, IOError, OSError], tags: [], gcsafe.}
|
{.nimcall, raises: [Exception, IOError, OSError], tags: [ReadIOEffect, WriteIOEffect], gcsafe.}
|
||||||
atEndImpl*: proc (s: Stream): bool
|
atEndImpl*: proc (s: Stream): bool
|
||||||
{.nimcall, raises: [Defect, IOError, OSError], tags: [], gcsafe.}
|
{.nimcall, raises: [Defect, IOError, OSError], tags: [], gcsafe.}
|
||||||
setPositionImpl*: proc (s: Stream, pos: int)
|
setPositionImpl*: proc (s: Stream, pos: int)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue