From 93e36dd664a9d3f95456769ca2d29c48503bd0e7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 10 Dec 2010 17:56:14 -0800 Subject: add a new TDB::HashFunctions module It's nice to have common hash functions available... --- ext/tdb/tdb.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/tdb/tdb.c') diff --git a/ext/tdb/tdb.c b/ext/tdb/tdb.c index d1b573a..196e29d 100644 --- a/ext/tdb/tdb.c +++ b/ext/tdb/tdb.c @@ -737,6 +737,7 @@ void Init_tdb_ext(void) /* Better hashing, but can't be opened by tdb < 1.2.6. */ rb_define_const(cTDB, "INCOMPATIBLE_HASH", UINT2NUM(TDB_INCOMPATIBLE_HASH)); #endif + rbtdb_init_tdb_hash_functions(); } /* -- cgit v1.2.3-24-ge0c7