|
C Container Collection (CCC)
|
The type passed by reference to any container function that may need to compare elements. The context pointer is passed as the context argument of the CCC_Comparator_arguments type, when provided.
More...
#include <types.h>
The type passed by reference to any container function that may need to compare elements. The context pointer is passed as the context argument of the CCC_Comparator_arguments type, when provided.
Data Fields | |
| CCC_Comparator_interface * | compare |
| void * | context |
| CCC_Comparator_interface* CCC_Comparator::compare |
The comparison function to be passed to comparing operation.
| void* CCC_Comparator::context |
Additional state to pass to the comparison.