2008-06-30 21:53:51 -04:00
|
|
|
/*
|
|
|
|
pointer hash table
|
|
|
|
optimized for storing info about particular values
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <assert.h>
|
|
|
|
#include <limits.h>
|
|
|
|
|
|
|
|
#include "dtypes.h"
|
|
|
|
#include "ptrhash.h"
|
|
|
|
#include "hashing.h"
|
|
|
|
|
2008-11-23 02:12:37 -05:00
|
|
|
#define OP_EQ(x,y) ((x)==(y))
|
2008-06-30 21:53:51 -04:00
|
|
|
|
2008-11-23 02:12:37 -05:00
|
|
|
#include "htable.inc"
|
2008-06-30 21:53:51 -04:00
|
|
|
|
2008-11-23 02:12:37 -05:00
|
|
|
HTIMPL(ptrhash, inthash, OP_EQ)
|