CFSetAddValue(_:_:)
Adds a value to a CFMutableSet object.
Declaration
func CFSetAddValue(_ theSet: CFMutableSet!, _ value: UnsafeRawPointer!)Parameters
- theSet:
The set to modify.
- value:
A CFType object or a pointer value to add to
theSet(or the value itself, if it fits into the size of a pointer).valueis retained bytheSetusing the retain callback provided whentheSetwas created. Ifvalueis not of the type expected by the retain callback, the behavior is undefined. Ifvaluealready exists in the collection, this function returns without doing anything.