Merge branch 'master' of https://github.com/Syphonx/raylib-public
This commit is contained in:
commit
0e1078c13d
1 changed files with 32548 additions and 30231 deletions
12
src/rnet.c
12
src/rnet.c
|
|
@ -1299,8 +1299,8 @@ void SocketUnsetChannel(Socket *socket, int channel)
|
|||
}
|
||||
}
|
||||
|
||||
/* Allocate/free a single UDP packet 'size' bytes long.
|
||||
The new packet is returned, or NULL if the function ran out of memory.
|
||||
/* Allocate/free a single UDP packet 'size' bytes long.
|
||||
The new packet is returned, or NULL if the function ran out of memory.
|
||||
*/
|
||||
SocketDataPacket *AllocPacket(int size)
|
||||
{
|
||||
|
|
@ -1349,10 +1349,10 @@ void FreePacket(SocketDataPacket *packet)
|
|||
}
|
||||
}
|
||||
|
||||
/* Allocate/Free a UDP packet vector (array of packets) of 'howmany' packets,
|
||||
each 'size' bytes long.
|
||||
A pointer to the packet array is returned, or NULL if the function ran out
|
||||
of memory.
|
||||
/* Allocate/Free a UDP packet vector (array of packets) of 'howmany' packets,
|
||||
each 'size' bytes long.
|
||||
A pointer to the packet array is returned, or NULL if the function ran out
|
||||
of memory.
|
||||
*/
|
||||
SocketDataPacket **AllocPacketList(int howmany, int size)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue