made the python bindings build

This commit is contained in:
Arvid Norberg 2008-02-17 21:17:43 +00:00
parent 9210c920b2
commit 3427e4548c
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ python-extension libtorrent
src/docstrings.cpp
src/torrent.cpp
src/peer_info.cpp
src/ip_filter.cpp
/torrent//torrent
/boost/python//boost_python
: <include>src

View File

@ -171,7 +171,7 @@ void bind_torrent_handle()
.def("set_max_connections", _(&torrent_handle::set_max_connections))
.def("set_upload_limit", _(&torrent_handle::set_upload_limit))
.def("set_download_limit", _(&torrent_handle::set_download_limit))
.def("set_sequenced_download_threshold", _(&torrent_handle::set_sequenced_download_threshold))
.def("set_sequential_download", _(&torrent_handle::set_sequential_download))
.def("pause", _(&torrent_handle::pause))
.def("resume", _(&torrent_handle::resume))
.def("is_paused", _(&torrent_handle::is_paused))