about summary refs log tree commit homepage
path: root/ext/tdb/tdb.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-12-10 17:56:14 -0800
committerEric Wong <normalperson@yhbt.net>2010-12-10 17:57:06 -0800
commit93e36dd664a9d3f95456769ca2d29c48503bd0e7 (patch)
tree7a5a243989d60d33daf5a2d47c054686a003a98e /ext/tdb/tdb.c
parent4e4166437ac88aa6df4ffcd4ed8452cb5eb8750e (diff)
downloadruby-tdb-93e36dd664a9d3f95456769ca2d29c48503bd0e7.tar.gz
It's nice to have common hash functions available...
Diffstat (limited to 'ext/tdb/tdb.c')
-rw-r--r--ext/tdb/tdb.c1
1 files changed, 1 insertions, 0 deletions
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();
 }
 
 /*