forked from premiere/premiere-libtorrent
exposed comparison operators on torrent_handle to python
This commit is contained in:
parent
d0d6d535ce
commit
220793c369
|
@ -87,6 +87,7 @@
|
|||
incoming connection
|
||||
* added more detailed instrumentation of the disk I/O thread
|
||||
|
||||
* exposed comparison operators on torrent_handle to python
|
||||
* exposed alert error_codes to python
|
||||
* fixed bug in announce_entry::next_announce_in and min_announce_in
|
||||
* fixed sign issue in set_alert_mask signature
|
||||
|
|
|
@ -284,6 +284,9 @@ void bind_torrent_handle()
|
|||
#define _ allow_threads
|
||||
|
||||
class_<torrent_handle>("torrent_handle")
|
||||
.def(self == self)
|
||||
.def(self != self)
|
||||
.def(self < self)
|
||||
.def("get_peer_info", get_peer_info)
|
||||
.def("status", _(&torrent_handle::status), arg("flags") = 0xffffffff)
|
||||
.def("get_download_queue", get_download_queue)
|
||||
|
|
Loading…
Reference in New Issue