hash-pointer.h File Reference

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


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.


Function Documentation

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:
location The pointer
Returns:
A hash key for the pointer.


Generated on Sun Sep 14 03:08:02 2008 for C Algorithms by  doxygen 1.5.5