Skip to main content

dds_free_typeobj

Function dds_free_typeobj 

Source
pub unsafe extern "C" fn dds_free_typeobj(
    type_obj: *mut dds_typeobj_t,
) -> dds_return_t
Expand description

@brief Free the type object that was retrieved using dds_get_typeobj @ingroup xtypes @component type_metadata

@param[in] type_obj The type object

@returns A dds_return_t indicating success or failure.

@retval DDS_RETCODE_OK The operation was successful. @retval DDS_RETCODE_BAD_PARAMETER The type_obj parameter is NULL @retval DDS_RETCODE_UNSUPPORTED Cyclone DDS built without type discovery (cf. DDS_HAS_TYPE_DISCOVERY)