added read_piece() to python binding

This commit is contained in:
Arvid Norberg 2008-12-15 07:49:05 +00:00
parent f1d981254a
commit 4b01a8fe61
1 changed files with 1 additions and 0 deletions

View File

@ -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))