Fix a build issue affecting Nim 0.20.2
This commit is contained in:
parent
6250518b6f
commit
9c5c6bdd6f
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ const
|
|||
debugHelpers = false
|
||||
|
||||
type
|
||||
StreamReader = proc (bufferStart: ptr byte, bufferSize: int): int
|
||||
StreamReader = proc (bufferStart: ptr byte, bufferSize: int): int {.gcsafe.}
|
||||
# TODO: use openarray once it's supported
|
||||
AsyncStreamReader = StreamReader # proc (bufferStart: ptr byte, bufferSize: int): Future[int]
|
||||
CloseStreamProc = proc ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue