fixes bug where priorities where lost when force-rechecking.
[libtorrent.git] / bindings / python / src / version.cpp
blobaaeafd9004bb21127139a4310c6e77c3534d4795
1 // Copyright Daniel Wallin 2006. Use, modification and distribution is
2 // subject to the Boost Software License, Version 1.0. (See accompanying
3 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 #include <libtorrent/version.hpp>
6 #include <boost/python.hpp>
8 using namespace boost::python;
10 void bind_version()
12 scope().attr("version") = LIBTORRENT_VERSION;
13 scope().attr("version_major") = LIBTORRENT_VERSION_MAJOR;
14 scope().attr("version_minor") = LIBTORRENT_VERSION_MINOR;