Skip to main content

pamoja_gateway_packet_free

Function pamoja_gateway_packet_free 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_gateway_packet_free( packet: *mut PamojaGatewayPacket, )
Expand description

Releases a packet.

§Arguments

  • packet - the packet, which must not be used again.

§Safety

packet must be a live handle from one of the builders or from pamoja_gateway_packet_parse, or null.