SDLNet_FreePacketV

Name

SDLNet_FreePacketV -- free a packet vector.

Synopsis

void SDLNet_FreePacketV(UDPpacket **packetV)

packetV A pointer to the UDPpacket vector to be freed from memory.

Description

Free a UDPpacket vector from memory. Do not use this UDPpacket vector, or any UDPpacket in it, after this function is called on it.

Return Value

Returns: nothing, this always succeeds.

Example

// Free a UDPpacket vector
//UDPpacket **packetV;

SDLNet_FreePacketV(packetV);
packetV=NULL; //just to help you know that it is freed

See Also

SDLNet_AllocPacketV, SDLNet_AllocPacket, SDLNet_FreePacket, SDLNet_ResizePacket, UDPpacket

SDLNet_FreePacketV (last edited 2008-04-17 08:18:22 by localhost)