Skip to main content

dds_delete_topic_descriptor

Function dds_delete_topic_descriptor 

Source
pub unsafe extern "C" fn dds_delete_topic_descriptor(
    descriptor: *mut dds_topic_descriptor_t,
) -> dds_return_t
Expand description

@ingroup topic @component topic @brief Delete memory allocated to the provided topic descriptor

@param[in] descriptor - Pointer to a dds_topic_descriptor_t

@returns A dds_return_t indicating success or failure.

@retval DDS_RETCODE_OK The topic descriptor has been succesfully deleted. @retval DDS_RETCODE_BAD_PARAMETER No descriptor provided @retval DDS_RETCODE_UNSUPPORTED Cyclone DDS built without type discovery (cf. DDS_HAS_TYPE_DISCOVERY)