Merge pull request #4732 from cheatfate/borrowse

upcoming_async: Borrow for AsyncEvent.
This commit is contained in:
Andreas Rumpf 2016-09-08 08:38:10 +02:00 • committed by GitHub
commit 4cb4961f7c

View file

@ -1373,6 +1373,7 @@ else:
{.deprecated: [TAsyncFD: AsyncFD, TCallback: Callback].}
proc `==`*(x, y: AsyncFD): bool {.borrow.}
proc `==`*(x, y: AsyncEvent): bool {.borrow.}
proc newDispatcher*(): PDispatcher =
new result