forked from premiere/premiere-libtorrent
add default argument to python binding for post_torrent_updates
This commit is contained in:
parent
bed412c66d
commit
c0d7650926
|
@ -772,7 +772,7 @@ void bind_session()
|
||||||
, arg("alert_mask")=int(alert::error_notification)))
|
, arg("alert_mask")=int(alert::error_notification)))
|
||||||
)
|
)
|
||||||
#endif
|
#endif
|
||||||
.def("post_torrent_updates", allow_threads(<::session::post_torrent_updates))
|
.def("post_torrent_updates", allow_threads(<::session::post_torrent_updates), arg("flags") = 0xffffffff)
|
||||||
.def("post_session_stats", allow_threads(<::session::post_session_stats))
|
.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))
|
||||||
|
|
Loading…
Reference in New Issue