forked from premiere/premiere-libtorrent
expose tracker_alert::local_endpoint in python bindings
This commit is contained in:
parent
32b2de8f17
commit
59d1c1f067
|
@ -346,6 +346,7 @@ void bind_alert()
|
||||||
#ifndef TORRENT_NO_DEPRECATE
|
#ifndef TORRENT_NO_DEPRECATE
|
||||||
.def_readonly("url", &tracker_alert::url)
|
.def_readonly("url", &tracker_alert::url)
|
||||||
#endif
|
#endif
|
||||||
|
.add_property("local_endpoint", make_getter(&tracker_alert::local_endpoint, by_value()))
|
||||||
.def("tracker_url", &tracker_alert::tracker_url)
|
.def("tracker_url", &tracker_alert::tracker_url)
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue