mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-02 18:07:59 +00:00
Windows API callbacks cannot raise exceptions
This commit is contained in:
@@ -961,13 +961,13 @@ type
|
||||
dwRemoteAddressLength: DWORD,
|
||||
lpdwBytesReceived: ptr DWORD,
|
||||
lpOverlapped: POVERLAPPED): bool {.
|
||||
stdcall,gcsafe.}
|
||||
stdcall, gcsafe, raises: [].}
|
||||
|
||||
WSAPROC_CONNECTEX* = proc (s: SocketHandle, name: ptr SockAddr, namelen: cint,
|
||||
lpSendBuffer: pointer, dwSendDataLength: DWORD,
|
||||
lpdwBytesSent: ptr DWORD,
|
||||
lpOverlapped: POVERLAPPED): bool {.
|
||||
stdcall,gcsafe.}
|
||||
stdcall, gcsafe, raises: [].}
|
||||
|
||||
WSAPROC_GETACCEPTEXSOCKADDRS* = proc(lpOutputBuffer: pointer,
|
||||
dwReceiveDataLength: DWORD,
|
||||
@@ -977,7 +977,7 @@ type
|
||||
LocalSockaddrLength: ptr cint,
|
||||
RemoteSockaddr: ptr PSockAddr,
|
||||
RemoteSockaddrLength: ptr cint) {.
|
||||
stdcall,gcsafe.}
|
||||
stdcall, gcsafe, raises: [].}
|
||||
|
||||
const
|
||||
WT_EXECUTEDEFAULT* = 0x00000000'i32
|
||||
|
||||
Reference in New Issue
Block a user