shithub: femtolisp

ref: 6d724e4899ea1e4e7164e98dfead7e3815372297
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_)