exposed comparison operators on torrent_handle to python
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user