Skip to main content

dds_sample_free

Function dds_sample_free 

Source
pub unsafe extern "C" fn dds_sample_free(
    sample: *mut c_void,
    desc: *const dds_topic_descriptor,
    op: dds_free_op_t,
)
Expand description

@brief Free (parts of) a sample according to the \ref dds_free_op_t @component memory_alloc

@param[in] sample sample to free @param[in] desc topic descriptor of the type this sample was created from. @param[in] op Which parts of the sample to free.