shithub: femtolisp

ref: ce0ad5efc68f2f70e4c177ea89dd02c6e5ec5b3a
dir: /equalhash.c/

View raw version
#ifdef PLAN9
#include <u.h>
#include <libc.h>
#else
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <limits.h>
#include <setjmp.h>
#endif

#include "llt.h"
#include "flisp.h"
#include "equalhash.h"

#include "htable.inc"

#define _equal_lispvalue_(x,y) equal_lispvalue((value_t)(x),(value_t)(y))

HTIMPL(equalhash, hash_lispvalue, _equal_lispvalue_)