summaryrefslogtreecommitdiffstats
path: root/include/jemalloc/internal/ckh.h
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2013-01-23 18:32:04 (GMT)
committerJason Evans <jasone@canonware.com>2013-01-23 18:32:04 (GMT)
commit83789f45307379e096c4e8be81d9e9a51e3f5a4a (patch)
treef8e39c4489cd99df1ed53475e79a4e5fe76483c2 /include/jemalloc/internal/ckh.h
parent87499f6748ebe4817571e817e9f680ccb5bf54a9 (diff)
parentb5681fb20c17478f2193fead19b7788807e39996 (diff)
downloadjemalloc-3.3.0.zip
jemalloc-3.3.0.tar.gz
jemalloc-3.3.0.tar.bz2
Merge branch 'dev'3.3.0
Diffstat (limited to 'include/jemalloc/internal/ckh.h')
-rw-r--r--include/jemalloc/internal/ckh.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/jemalloc/internal/ckh.h b/include/jemalloc/internal/ckh.h
index 05d1fc0..50c39ed 100644
--- a/include/jemalloc/internal/ckh.h
+++ b/include/jemalloc/internal/ckh.h
@@ -5,7 +5,7 @@ typedef struct ckh_s ckh_t;
typedef struct ckhc_s ckhc_t;
/* Typedefs to allow easy function pointer passing. */
-typedef void ckh_hash_t (const void *, unsigned, size_t *, size_t *);
+typedef void ckh_hash_t (const void *, size_t[2]);
typedef bool ckh_keycomp_t (const void *, const void *);
/* Maintain counters used to get an idea of performance. */
@@ -75,11 +75,9 @@ bool ckh_insert(ckh_t *ckh, const void *key, const void *data);
bool ckh_remove(ckh_t *ckh, const void *searchkey, void **key,
void **data);
bool ckh_search(ckh_t *ckh, const void *seachkey, void **key, void **data);
-void ckh_string_hash(const void *key, unsigned minbits, size_t *hash1,
- size_t *hash2);
+void ckh_string_hash(const void *key, size_t r_hash[2]);
bool ckh_string_keycomp(const void *k1, const void *k2);
-void ckh_pointer_hash(const void *key, unsigned minbits, size_t *hash1,
- size_t *hash2);
+void ckh_pointer_hash(const void *key, size_t r_hash[2]);
bool ckh_pointer_keycomp(const void *k1, const void *k2);
#endif /* JEMALLOC_H_EXTERNS */