From 434a20bcbc306ffb484c4a38e99ca82de2c0e08b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 9 Feb 2014 09:22:52 +0000 Subject: add siphash24 It's the preferred hash function nowadays by Ruby itself, so it probably makes sense to add it --- ext/tdb/rbtdb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/tdb/rbtdb.h') diff --git a/ext/tdb/rbtdb.h b/ext/tdb/rbtdb.h index 076a618..381d79a 100644 --- a/ext/tdb/rbtdb.h +++ b/ext/tdb/rbtdb.h @@ -3,6 +3,7 @@ #include #include +unsigned int rbtdb_siphash24(TDB_DATA *key); unsigned int rbtdb_murmur1(TDB_DATA *key); unsigned int rbtdb_murmur1_aligned(TDB_DATA *key); unsigned int rbtdb_murmur2(TDB_DATA *key); -- cgit v1.2.3-24-ge0c7