CFArrayExchangeValuesAtIndices |
||||
Header: | CFArray.h | Carbon status: | Supported | |
Exchanges the values at two indices of the array.
void CFArrayExchangeValuesAtIndices ( CFMutableArrayRef theArray, CFIndex idx1, CFIndex idx2 );
The array of which the values are to be swapped. If this parameter is not a valid mutable CFArray, the behavior is undefined.
The first index whose values should be swapped. If the index is outside the index space of the array (0 to N-1 inclusive, where N is the count of the array before the operation), the behavior is undefined.
The second index whose values should be swapped. If the index is outside the index space of the array (0 to N-1 inclusive, where N is the count of the array before the operation), the behavior is undefined.
Supported in Carbon. Available in Carbon 1.0.2 and later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)