shithub: femtolisp

ref: 271cf34e9911bc44c7dd0777c7ad4491d3a9580b
dir: femtolisp/llt/ptrhash.c

View raw version
/*
  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"

#define OP_EQ(x,y) ((x)==(y))

#include "htable.inc"

HTIMPL(ptrhash, inthash, OP_EQ)