CFSetReplaceValue(_:_:)
Replaces a value in a CFMutableSet object.
Declaration
func CFSetReplaceValue(_ theSet: CFMutableSet!, _ value: UnsafeRawPointer!)Parameters
- theSet:
The set to modify.
- value:
The value to replace in
theSet. If this value does not already exist intheSet, the function does nothing. You may pass the value itself instead of a pointer if it is pointer-size or less. The equal callback provided whentheSetwas created is used to compare. If the equal callback wasNULL, pointer equality (in C, ==) is used. Ifvalue, or any other value intheSet, is not understood by the equal callback, the behavior is undefined.