forked from premiere/premiere-libtorrent
expose set_peer_id to python binding
This commit is contained in:
parent
a3a687e833
commit
68aa222a58
|
@ -87,6 +87,7 @@
|
|||
incoming connection
|
||||
* added more detailed instrumentation of the disk I/O thread
|
||||
|
||||
* exposed set_peer_id to python binding
|
||||
* improve support for merkle tree torrent creation
|
||||
* exposed comparison operators on torrent_handle to python
|
||||
* exposed alert error_codes to python
|
||||
|
|
|
@ -565,6 +565,7 @@ void bind_session()
|
|||
.def("is_paused", allow_threads(&session::is_paused))
|
||||
.def("id", allow_threads(&session::id))
|
||||
.def("get_cache_status", allow_threads(&session::get_cache_status))
|
||||
.def("set_peer_id", allow_threads(&session::set_peer_id))
|
||||
;
|
||||
|
||||
enum_<session::save_state_flags_t>("save_state_flags_t")
|
||||
|
|
Loading…
Reference in New Issue