CFSetApplyFunction

Header: CFSet.h Carbon status: Supported

Applies a program-defined function to each value in a CFSet object.

void CFSetApplyFunction (
    CFSetRef theSet, 
    CFSetApplierFunction applier, 
    void *context
);
Parameter descriptions
theSet

Pass a reference to the CFSet object whose values you want to apply the function to.

applier

A pointer to the applier callback function to call once for each value in the CFSet object. If this is not a pointer to a function of the correct prototype (that is, CFSetApplierFunction), then the behavior is undefined. If the applier function cannot understand or properly apply behavior to the values in the object, the behavior is undefined.

context

Pass a pointer-size program-defined value. This value is passed to the applier function as its second parameter. If the applier function does not understand the context value, the behavior is undefined.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)