CFBagApplierFunction |
||||
Header: | CFBag.h | Carbon status: | Supported | |
The type of the "applier" callback function passed into the CFBagApplyFunction function. The type of the program-defined applier function used by the CFBagApplyFunction function.
typedef void(* CFBagApplierFunction) ( 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 );
A pointer to a value in the CFBag object.
A pointer to a program-defined context.
This the type of the applier function which is passed into the CFBagApplyFunction function. This CFBag function iterates over the values in a bag 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)