summary refs log tree commit diff stats
path: root/lib/pure/asyncio.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-09-08 15:43:21 +0200
committerAraq <rumpf_a@web.de>2012-09-08 15:43:21 +0200
commitb64eeeb4303953f9fe1135cb9c3c61e23ec55afa (patch)
tree0f994de4a02afd9bed14dafcac24a3dd2df99d0d /lib/pure/asyncio.nim
parent355ae07b8f3362af4e90770477d344dcd2fef594 (diff)
downloadNim-b64eeeb4303953f9fe1135cb9c3c61e23ec55afa.tar.gz
term rewriting improvements
Diffstat (limited to 'lib/pure/asyncio.nim')
-rw-r--r--lib/pure/asyncio.nim5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/pure/asyncio.nim b/lib/pure/asyncio.nim
index 653aa38b3..20f92906f 100644
--- a/lib/pure/asyncio.nim
+++ b/lib/pure/asyncio.nim
@@ -110,8 +110,9 @@ type
     proto: TProtocol
     deleg: PDelegate
 
-  TInfo = enum
-    SockIdle, SockConnecting, SockConnected, SockListening, SockClosed, SockUDPBound
+  TInfo* = enum
+    SockIdle, SockConnecting, SockConnected, SockListening, SockClosed, 
+    SockUDPBound
 
 proc newDelegate*(): PDelegate =
   ## Creates a new delegate.