made large parts of the stdlib gcsafe

This commit is contained in:
Araq
2014-04-20 20:01:24 +02:00
parent be6474af63
commit e6d17e6273
21 changed files with 138 additions and 113 deletions

View File

@@ -477,7 +477,7 @@ proc nextAsync(s: PAsyncHTTPServer) =
s.path = data.substr(i, last-1)
proc asyncHTTPServer*(handleRequest: proc (server: PAsyncHTTPServer, client: TSocket,
path, query: string): bool {.closure.},
path, query: string): bool {.closure, gcsafe.},
port = TPort(80), address = "",
reuseAddr = false): PAsyncHTTPServer =
## Creates an Asynchronous HTTP server at ``port``.