diff options
author | Araq <rumpf_a@web.de> | 2018-11-16 13:27:46 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-11-16 13:27:56 +0100 |
commit | 3f6168b3372013c0d4b938e6a83849199d9756c9 (patch) | |
tree | bb5eaf3d75d30fabe4325049238611659aa0c420 /lib/deprecated | |
parent | 4233046e3f62c89495b8e351b328401322296b56 (diff) | |
download | Nim-3f6168b3372013c0d4b938e6a83849199d9756c9.tar.gz |
removes deprecated T/P types
Diffstat (limited to 'lib/deprecated')
-rw-r--r-- | lib/deprecated/pure/actors.nim | 1 | ||||
-rw-r--r-- | lib/deprecated/pure/asyncio.nim | 5 | ||||
-rw-r--r-- | lib/deprecated/pure/ftpclient.nim | 5 | ||||
-rw-r--r-- | lib/deprecated/pure/parseurl.nim | 2 | ||||
-rw-r--r-- | lib/deprecated/pure/sockets.nim | 9 |
5 files changed, 0 insertions, 22 deletions
diff --git a/lib/deprecated/pure/actors.nim b/lib/deprecated/pure/actors.nim index 451668825..77c67a3e4 100644 --- a/lib/deprecated/pure/actors.nim +++ b/lib/deprecated/pure/actors.nim @@ -111,7 +111,6 @@ type actors: seq[PActor[In, Out]] when Out isnot void: outputs: Channel[Out] -{.deprecated: [TActorPool: ActorPool].} proc `^`*[T](f: ptr Channel[T]): T = ## alias for 'recv'. diff --git a/lib/deprecated/pure/asyncio.nim b/lib/deprecated/pure/asyncio.nim index 39d77230a..2dd08024d 100644 --- a/lib/deprecated/pure/asyncio.nim +++ b/lib/deprecated/pure/asyncio.nim @@ -147,11 +147,6 @@ type SockIdle, SockConnecting, SockConnected, SockListening, SockClosed, SockUDPBound -{.deprecated: [TDelegate: DelegateObj, PDelegate: Delegate, - TInfo: SocketStatus, PAsyncSocket: AsyncSocket, TAsyncSocket: AsyncSocketObj, - TDispatcher: DispatcherObj, PDispatcher: Dispatcher, - ].} - proc newDelegate*(): Delegate = ## Creates a new delegate. diff --git a/lib/deprecated/pure/ftpclient.nim b/lib/deprecated/pure/ftpclient.nim index 7645258b6..d70f9556a 100644 --- a/lib/deprecated/pure/ftpclient.nim +++ b/lib/deprecated/pure/ftpclient.nim @@ -108,11 +108,6 @@ type ReplyError* = object of IOError FTPError* = object of IOError -{.deprecated: [ - TFTPClient: FTPClientObj, TFTPJob: FTPJob, PAsyncFTPClient: AsyncFTPClient, - TAsyncFTPClient: AsyncFTPClientObj, TFTPEvent: FTPEvent, - EInvalidReply: ReplyError, EFTP: FTPError -].} const multiLineLimit = 10000 diff --git a/lib/deprecated/pure/parseurl.nim b/lib/deprecated/pure/parseurl.nim index 6d58e8a73..b19f6dc85 100644 --- a/lib/deprecated/pure/parseurl.nim +++ b/lib/deprecated/pure/parseurl.nim @@ -22,8 +22,6 @@ type scheme, username, password, hostname, port, path, query, anchor: string] -{.deprecated: [TUrl: Url].} - proc parseUrl*(url: string): Url {.deprecated.} = var i = 0 diff --git a/lib/deprecated/pure/sockets.nim b/lib/deprecated/pure/sockets.nim index 34881607f..f78df0b2b 100644 --- a/lib/deprecated/pure/sockets.nim +++ b/lib/deprecated/pure/sockets.nim @@ -70,9 +70,6 @@ when defined(ssl): SSLAcceptResult* = enum AcceptNoClient = 0, AcceptNoHandshake, AcceptSuccess - {.deprecated: [ESSL: SSLError, TSSLCVerifyMode: SSLCVerifyMode, - TSSLProtVersion: SSLProtVersion, PSSLContext: SSLContext, - TSSLAcceptResult: SSLAcceptResult].} const BufferSize*: int = 4000 ## size of a buffered socket's buffer @@ -147,12 +144,6 @@ type TimeoutError* = object of Exception -{.deprecated: [TSocket: Socket, TType: SockType, TPort: Port, TDomain: Domain, - TProtocol: Protocol, TServent: Servent, THostent: Hostent, - TSOBool: SOBool, TRecvLineResult: RecvLineResult, - TReadLineResult: ReadLineResult, ETimeout: TimeoutError, - TSocketImpl: SocketImpl].} - when defined(booting): let invalidSocket*: Socket = nil ## invalid socket else: |