https://github.com/JuliaLang/julia
Raw File
Tip revision: d83848c9b9c219815a527597ea6eaf00e08b9f92 authored by Rafael Fourquet on 07 August 2017, 16:43:53 UTC
REPL: enable undo in bracketed paste mode
Tip revision: d83848c
ptrhash.c
// This file is a part of Julia. License is MIT: https://julialang.org/license

/*
  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 "hashing.h"
#include "ptrhash.h"

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

#include "htable.inc"

#ifdef __cplusplus
extern "C" {
#endif

HTIMPL(ptrhash, inthash, OP_EQ)

#ifdef __cplusplus
}
#endif
back to top