fix missing procvar pragma
This commit is contained in:
parent
0531658c00
commit
453f8357c0
1 changed files with 1 additions and 1 deletions
|
|
@ -281,7 +281,7 @@ proc getFile(ftp: AsyncFtpClient, file: File, total: BiggestInt,
|
||||||
assertReply(await(ftp.expectReply()), "226")
|
assertReply(await(ftp.expectReply()), "226")
|
||||||
|
|
||||||
proc defaultOnProgressChanged*(total, progress: BiggestInt,
|
proc defaultOnProgressChanged*(total, progress: BiggestInt,
|
||||||
speed: float): Future[void] {.nimcall,gcsafe.} =
|
speed: float): Future[void] {.nimcall,gcsafe,procvar.} =
|
||||||
## Default FTP ``onProgressChanged`` handler. Does nothing.
|
## Default FTP ``onProgressChanged`` handler. Does nothing.
|
||||||
result = newFuture[void]()
|
result = newFuture[void]()
|
||||||
#echo(total, " ", progress, " ", speed)
|
#echo(total, " ", progress, " ", speed)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue