summaryrefslogtreecommitdiff
path: root/hash/hash_wrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hash/hash_wrapper.cpp')
-rw-r--r--hash/hash_wrapper.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/hash/hash_wrapper.cpp b/hash/hash_wrapper.cpp
deleted file mode 100644
index a4173b9..0000000
--- a/hash/hash_wrapper.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-#include "hash.h"
-
-#include <boost/python.hpp>
-using namespace boost::python;
-
-BOOST_PYTHON_MODULE(_hash)
-{
- class_<Hash>("Hash")
- .def("update", &Hash::update)
- .def("crc32", &Hash::crc32)
- .def("ed2k", &Hash::ed2k)
- .def("md5", &Hash::md5)
- .def("sha1", &Hash::sha1);
-}