Sha256: 37390fe7162ec92a51f17bd2bbe3ecf0ca4a61fe7e7ce3a8412b14d392746722
Contents?: true
Size: 290 Bytes
Versions: 23
Compression:
Stored size: 290 Bytes
Contents
#include "idhash.h" static JSHashNumber key_hash(const void *key) { return (JSHashNumber)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
23 entries across 23 versions & 3 rubygems