forked from premiere/premiere-libtorrent
Add session.post_session_stats() to python bindings
This commit is contained in:
parent
3078671177
commit
6552138ae5
|
@ -748,6 +748,7 @@ void bind_session()
|
||||||
)
|
)
|
||||||
#endif
|
#endif
|
||||||
.def("post_torrent_updates", allow_threads(<::session::post_torrent_updates))
|
.def("post_torrent_updates", allow_threads(<::session::post_torrent_updates))
|
||||||
|
.def("post_session_stats", allow_threads(<::session::post_session_stats))
|
||||||
.def("outgoing_ports", &outgoing_ports)
|
.def("outgoing_ports", &outgoing_ports)
|
||||||
.def("is_listening", allow_threads(<::session::is_listening))
|
.def("is_listening", allow_threads(<::session::is_listening))
|
||||||
.def("listen_port", allow_threads(<::session::listen_port))
|
.def("listen_port", allow_threads(<::session::listen_port))
|
||||||
|
|
Loading…
Reference in New Issue