CFArrayCallBacks |
Header: CFArray.h |
struct CFArrayCallBacks { CFIndex version; CFArrayRetainCallBack retain; CFArrayReleaseCallBack release; CFArrayCopyDescriptionCallBack copyDescription; CFArrayEqualCallBack equal; };
The callback used to add a retain for the array on values as they are put into the array. This callback returns the value to store in the array, which is usually the value parameter passed to this callback, but may be a different value if a different value should be stored in the array. The array's allocator is passed as the first argument.
The callback used to remove a retain previously added for the array from values as they are removed from the array. The array's allocator is passed as the first argument.
The callback used to create a descriptive string representation of each value in the array. This is used by the CFCopyDescription() function.
The callback used to compare values in the array for equality for some operations.
Structure containing the callbacks of a CFArray.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)