Main Page | Data Structures | File List | Data Fields | Globals

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 Mon Jan 30 18:56:23 2006 for C Algorithms by  doxygen 1.4.4