libuv: Fix Windows API function typedef syntax

This commit is contained in:
Brad King 2016-08-24 11:08:29 -04:00
parent 75139374f0
commit 05dbc204cd
1 changed files with 5 additions and 5 deletions

View File

@ -116,7 +116,7 @@ typedef struct pollfd {
{0xb5367df0, 0xcbac, 0x11cf, \ {0xb5367df0, 0xcbac, 0x11cf, \
{0x95, 0xca, 0x00, 0x80, 0x5f, 0x48, 0xa1, 0x92}} {0x95, 0xca, 0x00, 0x80, 0x5f, 0x48, 0xa1, 0x92}}
typedef BOOL PASCAL (*LPFN_ACCEPTEX) typedef BOOL (PASCAL *LPFN_ACCEPTEX)
(SOCKET sListenSocket, (SOCKET sListenSocket,
SOCKET sAcceptSocket, SOCKET sAcceptSocket,
PVOID lpOutputBuffer, PVOID lpOutputBuffer,
@ -126,7 +126,7 @@ typedef struct pollfd {
LPDWORD lpdwBytesReceived, LPDWORD lpdwBytesReceived,
LPOVERLAPPED lpOverlapped); LPOVERLAPPED lpOverlapped);
typedef BOOL PASCAL (*LPFN_CONNECTEX) typedef BOOL (PASCAL *LPFN_CONNECTEX)
(SOCKET s, (SOCKET s,
const struct sockaddr* name, const struct sockaddr* name,
int namelen, int namelen,
@ -135,7 +135,7 @@ typedef struct pollfd {
LPDWORD lpdwBytesSent, LPDWORD lpdwBytesSent,
LPOVERLAPPED lpOverlapped); LPOVERLAPPED lpOverlapped);
typedef void PASCAL (*LPFN_GETACCEPTEXSOCKADDRS) typedef void (PASCAL *LPFN_GETACCEPTEXSOCKADDRS)
(PVOID lpOutputBuffer, (PVOID lpOutputBuffer,
DWORD dwReceiveDataLength, DWORD dwReceiveDataLength,
DWORD dwLocalAddressLength, DWORD dwLocalAddressLength,
@ -145,13 +145,13 @@ typedef struct pollfd {
LPSOCKADDR* RemoteSockaddr, LPSOCKADDR* RemoteSockaddr,
LPINT RemoteSockaddrLength); LPINT RemoteSockaddrLength);
typedef BOOL PASCAL (*LPFN_DISCONNECTEX) typedef BOOL (PASCAL *LPFN_DISCONNECTEX)
(SOCKET hSocket, (SOCKET hSocket,
LPOVERLAPPED lpOverlapped, LPOVERLAPPED lpOverlapped,
DWORD dwFlags, DWORD dwFlags,
DWORD reserved); DWORD reserved);
typedef BOOL PASCAL (*LPFN_TRANSMITFILE) typedef BOOL (PASCAL *LPFN_TRANSMITFILE)
(SOCKET hSocket, (SOCKET hSocket,
HANDLE hFile, HANDLE hFile,
DWORD nNumberOfBytesToWrite, DWORD nNumberOfBytesToWrite,