expose set_peer_id to python binding

This commit is contained in:
Arvid Norberg 2011-08-01 00:05:53 +00:00
parent a3a687e833
commit 68aa222a58
2 changed files with 2 additions and 0 deletions

View File

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

View File

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