added read_piece() to python binding
This commit is contained in:
parent
f1d981254a
commit
4b01a8fe61
|
@ -312,6 +312,7 @@ void bind_torrent_handle()
|
||||||
.def("write_resume_data", _(&torrent_handle::write_resume_data))
|
.def("write_resume_data", _(&torrent_handle::write_resume_data))
|
||||||
#endif
|
#endif
|
||||||
.def("add_piece", add_piece)
|
.def("add_piece", add_piece)
|
||||||
|
.def("read_piece", _(&torrent_handle::read_piece))
|
||||||
.def("piece_availability", piece_availability)
|
.def("piece_availability", piece_availability)
|
||||||
.def("piece_priority", _(piece_priority0))
|
.def("piece_priority", _(piece_priority0))
|
||||||
.def("piece_priority", _(piece_priority1))
|
.def("piece_priority", _(piece_priority1))
|
||||||
|
|
Loading…
Reference in New Issue