CFSetApplierFunction

Header: CFSet.h Carbon status: Supported

The type of the "applier" callback function passed into the CFSetApplyFunction function. The type of the "applier" callback function passed into the CFSetApplyFunction function.

typedef void(* CFSetApplierFunction) (
    const void *val, 
    void *context
);

You would declare your function like this if you were to name it MyCallback:

void MyCallback (
    const void *val, 
    void *context
);
Parameter descriptions
val

The current value for the CFSet object.

context

The program-defined context given to the applier function.

DISCUSSION

This the type of the applier function which is passed into the CFSetApplyFunction function. This CFSet function iterates over the values in a set collection and applies the behavior defined in the applier function to each value in the collection.


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