ObjFW
Loading...
Searching...
No Matches
OFMapTableFunctions Struct Reference

A struct describing the functions to be used by the map table. More...

#include <ObjFW/ObjFW.h>

Public Attributes

void *(* retain )(void *object)
 
void(* release )(void *object)
 
unsigned long(* hash )(void *object)
 
bool(* equal )(void *object1, void *object2)
 

Detailed Description

A struct describing the functions to be used by the map table.

Member Data Documentation

◆ equal

bool(* OFMapTableFunctions::equal) (void *object1, void *object2)

The function to compare keys / objects

◆ hash

unsigned long(* OFMapTableFunctions::hash) (void *object)

The function to hash keys

◆ release

void(* OFMapTableFunctions::release) (void *object)

The function to release keys / objects

◆ retain

void *(* OFMapTableFunctions::retain) (void *object)

The function to retain keys / objects


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