diff options
author | Adam Strzelecki <ono@java.pl> | 2015-09-30 13:36:43 +0200 |
---|---|---|
committer | Adam Strzelecki <ono@java.pl> | 2015-10-03 19:45:41 +0200 |
commit | be991ed413d57ec90b4494f4be945d11c85365f4 (patch) | |
tree | ed5c6c4b6502a4bc3020c220ab561c7e662da9e4 /tests/macros | |
parent | 3fe573177715b1c21d34e79a113862d298741c01 (diff) | |
download | Nim-be991ed413d57ec90b4494f4be945d11c85365f4.tar.gz |
Rename rawsockets module to nativesockets
This change was done to avoid confusion with TCP/IP raw sockets. Native sockets module represents handling native system low level socket API in general and is not just limited anyhow to TCP/IP raw sockets. A stub lib/deprecated/pure/rawsockets.nim module has been added as compatibility layer for old code using rawsockets, so this change will not break existing code.
Diffstat (limited to 'tests/macros')
-rw-r--r-- | tests/macros/tgensym.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/macros/tgensym.nim b/tests/macros/tgensym.nim index b3aef0a2c..a4d1a3606 100644 --- a/tests/macros/tgensym.nim +++ b/tests/macros/tgensym.nim @@ -1,6 +1,6 @@ -import rawsockets, asyncdispatch, macros +import nativesockets, asyncdispatch, macros var p = newDispatcher() -var sock = newAsyncRawSocket() +var sock = newAsyncNativeSocket() proc convertReturns(node, retFutureSym: NimNode): NimNode {.compileTime.} = case node.kind |