sdlNetFreePacketV function
Free a UDP packet vector (array of packets).
This frees the results of a previous call to SDLNet_AllocPacketV(), freeing both the set of packets and the array that holds them.
It is safe to free a NULL array through here; it's a harmless no-op.
You must not use this to free packets allocated through any function other than SDLNet_AllocPacketV().
\param packetV the results of a call to SDLNet_AllocPacketV().
\since This function is available since SDL_net 2.0.0.
\sa SDLNet_AllocPacketV
extern DECLSPEC void SDLCALL SDLNet_FreePacketV(UDPpacket **packetV)
Implementation
void sdlNetFreePacketV(Pointer<Pointer<UDPpacket>> packetV) {
final sdlNetFreePacketVLookupFunction = libSdl2Net.lookupFunction<
Void Function(Pointer<Pointer<UDPpacket>> packetV),
void Function(Pointer<Pointer<UDPpacket>> packetV)>('SDLNet_FreePacketV');
return sdlNetFreePacketVLookupFunction(packetV);
}