Function CFArrayAppendValue

Source
pub unsafe extern "C-unwind" fn CFArrayAppendValue(
    the_array: Option<&CFMutableArray>,
    value: *const c_void,
)
Available on crate feature CFArray only.
Expand description

Adds the value to the array giving it a new largest index.

Parameter theArray: The array to which the value is to be added. If this parameter is not a valid mutable CFArray, the behavior is undefined.

Parameter value: The value to add to the array. The value is retained by the array using the retain callback provided when the array was created. If the value is not of the sort expected by the retain callback, the behavior is undefined. The value is assigned to the index one larger than the previous largest index, and the count of the array is increased by one.