Skip to main content

dds_dynamic_type_ref

Function dds_dynamic_type_ref 

Source
pub unsafe extern "C" fn dds_dynamic_type_ref(
    type_: *mut dds_dynamic_type_t,
) -> dds_dynamic_type_t
Expand description

@brief Reference a Dynamic Type @ingroup dynamic_type @component dynamic_type_api

References a Dynamic Type and increases the ref-count of the type. This can e.g. be used to re-use a subtype when constructing a type.

@param type Dynamic Type to reference

@return dds_dynamic_type_t Dynamic Type with increased ref-count