summaryrefslogtreecommitdiff
path: root/src/wrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapper.cpp')
-rw-r--r--src/wrapper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wrapper.cpp b/src/wrapper.cpp
index cbe86f5..a93dae2 100644
--- a/src/wrapper.cpp
+++ b/src/wrapper.cpp
@@ -26,4 +26,6 @@ BOOST_PYTHON_MODULE(_multihash)
class_<Multihash::SHA1, bases<Hash> >("SHA1")
.def(init<optional<Hash*> >());
+
+ def("_hash_file", Multihash::_hash_file);
}