Sha256: b30b7235c73de7004ac9abfb4562d6bd2b62e0945ebc5e9793f78271970290f8

Contents?: true

Size: 305 Bytes

Versions: 10

Compression:

Stored size: 305 Bytes

Contents

#include "idhash.h"

static JSHashNumber key_hash(const void *key)
{
  return (JSHashNumber)(unsigned long)key;
}

static intN comparator(const void *v1, const void *v2)
{
  return v1 == v2;
}

JSHashTable* create_id_hash()
{
  return JS_NewHashTable(0, key_hash, comparator, comparator, NULL, NULL);  
}

Version data entries

10 entries across 10 versions & 4 rubygems

Version Path
johnson19-2.0.0.pre3 ext/tracemonkey/idhash.cc
pre-johnson-2.0.0 ext/tracemonkey/idhash.cc
johnson-2.0.0.pre3 ext/tracemonkey/idhash.cc
johnson-2.0.0.pre2 ext/tracemonkey/idhash.cc
johnson-2.0.0.pre1 ext/tracemonkey/idhash.cc
johnson-2.0.0.pre0 ext/tracemonkey/idhash.cc
smparkes-johnson-1.1.2.6 ext/tracemonkey/idhash.cc
smparkes-johnson-1.1.2.5 ext/tracemonkey/idhash.cc
smparkes-johnson-1.1.2.4 ext/tracemonkey/idhash.cc
smparkes-johnson-1.1.2.3 ext/tracemonkey/idhash.cc