diff options
author | zyp <zyp@localhost> | 2006-05-08 15:23:20 +0200 |
---|---|---|
committer | zyp <zyp@localhost> | 2006-05-08 15:23:20 +0200 |
commit | df9c15d40a50ed17baa7bdbb11ef6cca9d410cf3 (patch) | |
tree | 4ceb64d5c29e6bf487f8a6e7dde655a2c0b5f26a /hash_wrapper.cpp | |
parent | 3a5b32f44a95b989e39273527fc924ad3d32465e (diff) |
[project @ zyp-20060508132320-2c118d1a7e2505db]
[project @ 24]
Converted from make to distutils.
Diffstat (limited to 'hash_wrapper.cpp')
-rw-r--r-- | hash_wrapper.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/hash_wrapper.cpp b/hash_wrapper.cpp deleted file mode 100644 index a4173b9..0000000 --- a/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); -} |