|
ObjFW
|
A struct describing the functions to be used by the map table. More...
#include <ObjFW/OFMapTable.h>
Public Attributes | |
| void *(* | retain )(void *object) |
| void(* | release )(void *object) |
| unsigned long(* | hash )(void *object) |
| bool(* | equal )(void *object1, void *object2) |
A struct describing the functions to be used by the map table.
| bool(* OFMapTableFunctions::equal) (void *object1, void *object2) |
The function to compare keys / objects
| unsigned long(* OFMapTableFunctions::hash) (void *object) |
The function to hash keys
| void(* OFMapTableFunctions::release) (void *object) |
The function to release keys / objects
| void *(* OFMapTableFunctions::retain) (void *object) |
The function to retain keys / objects