diff options
author | zyp <zyp@localhost> | 2006-10-19 17:11:00 +0200 |
---|---|---|
committer | zyp <zyp@localhost> | 2006-10-19 17:11:00 +0200 |
commit | f93b71da9bcd01d7c1db797d9a84b95cbdabde0b (patch) | |
tree | dc16b47633ed53653ad7697a5785f05aaf0cb21a /src/wrapper.cpp | |
parent | 77e467c9bae74863016e028008290e5f6fd1bca3 (diff) |
[project @ zyp-20061019151100-032626b43d2f238b]
[project @ 59]
Added hash_file-function.
Diffstat (limited to 'src/wrapper.cpp')
-rw-r--r-- | src/wrapper.cpp | 2 |
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); } |