ATLAS Offline Software
Loading...
Searching...
No Matches
hash-pointer.h File Reference

Hash function for a generic (void) pointer. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

unsigned long pointer_hash (void *location)
 Generate a hash key for a pointer.

Detailed Description

Hash function for a generic (void) pointer.

See pointer_hash.

Definition in file hash-pointer.h.

Function Documentation

◆ pointer_hash()

unsigned long pointer_hash ( void * location)

Generate a hash key for a pointer.

The value pointed at by the pointer is not used, only the pointer itself.

Parameters
locationThe pointer
Returns
A hash key for the pointer.