summaryrefslogtreecommitdiff
path: root/hash/hash_wrapper.cpp
diff options
context:
space:
mode:
authorzyp <zyp@localhost>2006-10-27 13:30:01 +0200
committerzyp <zyp@localhost>2006-10-27 13:30:01 +0200
commite7372290e93e2fa26237e2ecbe257c8ccc4dce30 (patch)
tree5e5e1bff5b9f3191e0dea2d7bdc9a55a82345542 /hash/hash_wrapper.cpp
parent802668818e930d91c37f8107e4c8822bd3ebdfac (diff)
[project @ zyp-20061027113001-b3ca581e0efa4fa6]
[project @ 65] This should not be here.
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);
-}