C Container Collection (CCC)
Loading...
Searching...
No Matches
CCC_Key_comparator Struct Reference

The type passed by reference to any container function that may need to compare keys. The context pointer is passed as the context argument of the CCC_Key_comparator_arguments type, when provided. More...

#include <types.h>

Detailed Description

The type passed by reference to any container function that may need to compare keys. The context pointer is passed as the context argument of the CCC_Key_comparator_arguments type, when provided.

Data Fields

CCC_Key_comparator_interfacecompare
 
void * context
 

Field Documentation

◆ compare

CCC_Key_comparator_interface* CCC_Key_comparator::compare

The comparison function to be passed to comparing operation.

◆ context

void* CCC_Key_comparator::context

Additional state to pass to the comparison.


The documentation for this struct was generated from the following file: