17 lines
512 B
C++
17 lines
512 B
C++
// Copyright Daniel Wallin 2006. Use, modification and distribution is
|
|
// subject to the Boost Software License, Version 1.0. (See accompanying
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
#include <libtorrent/version.hpp>
|
|
#include <boost/python.hpp>
|
|
|
|
using namespace boost::python;
|
|
|
|
void bind_version()
|
|
{
|
|
scope().attr("version") = LIBTORRENT_VERSION;
|
|
scope().attr("version_major") = LIBTORRENT_VERSION_MAJOR;
|
|
scope().attr("version_minor") = LIBTORRENT_VERSION_MINOR;
|
|
}
|
|
|