[][src]Function mmal_sys::mmal_port_pool_destroy

pub unsafe extern "C" fn mmal_port_pool_destroy(
    port: *mut MMAL_PORT_T,
    pool: *mut MMAL_POOL_T
)

Destroy a pool of MMAL_BUFFER_HEADER_T associated with a specific port. This will also deallocate all of the memory which was allocated when creating or resizing the pool.

@param port Pointer to the port responsible for creating the pool. @param pool Pointer to the pool to be destroyed.