Function CFSetAddValue

Source
pub unsafe extern "C-unwind" fn CFSetAddValue(
    the_set: Option<&CFMutableSet>,
    value: *const c_void,
)
Available on crate feature CFSet only.
Expand description

Adds the value to the set if it is not already present.

Parameter theSet: The set to which the value is to be added. If this parameter is not a valid mutable CFSet, the behavior is undefined.

Parameter value: The value to add to the set. The value is retained by the set using the retain callback provided when the set was created. If the value is not of the sort expected by the retain callback, the behavior is undefined. The count of the set is increased by one.