forked from premiere/premiere-libtorrent
made the python bindings build
This commit is contained in:
parent
9210c920b2
commit
3427e4548c
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue