Files
Nim/tests/modules/texport.nim
Adam Strzelecki be991ed413 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.
2015-10-03 19:45:41 +02:00

14 lines
193 B
Nim

discard """
output: "my object68"
"""
import mexporta
# bug #1029:
from nativesockets import accept
# B.TMyObject has been imported implicitly here:
var x: TMyObject
echo($x, q(0), q"0")