removes deprecated T/P types
This commit is contained in:
parent
4233046e3f
commit
3f6168b337
64 changed files with 43 additions and 276 deletions
|
|
@ -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'.
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue