![]() |
![]() |
![]() |
![]() |
Free data associated with a transport registry entry
int PhFreeTransportType( void *data, char *packing_type );
ph
This function assumes that the data pointed to by data is an allocated structure that's described by a transport registry entry for packing_type — for more information, see PhTransportRegEntry_t.
All data associated with data is freed using the transport registry entry for packing_type.
PhFreeTransportType( ptr, "PhImage" ); PhFreeTransportType( ptr, "files" );
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PhFindTransportType(), PhMallocUnpack(), PhPackEntry(), PhRegisterTransportType(), PhTransportRegEntry_t, PhTransportType(), PhUnpack()
Drag and Drop chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |