fix python bindings for block_uploaded_alert
This commit is contained in:
parent
8506f93507
commit
2ccb5d716a
|
@ -1,3 +1,4 @@
|
||||||
|
* fix python bindins for block_uploaded_alert
|
||||||
* optimize resolving duplicate filenames in loading torrent files
|
* optimize resolving duplicate filenames in loading torrent files
|
||||||
* fix python binding of dht_settings
|
* fix python binding of dht_settings
|
||||||
* tighten up various input validation checks
|
* tighten up various input validation checks
|
||||||
|
|
|
@ -989,7 +989,7 @@ void bind_alert()
|
||||||
class_<block_uploaded_alert, bases<peer_alert>, noncopyable>(
|
class_<block_uploaded_alert, bases<peer_alert>, noncopyable>(
|
||||||
"block_uploaded_alert", no_init)
|
"block_uploaded_alert", no_init)
|
||||||
.add_property("block_index", &block_uploaded_alert::block_index)
|
.add_property("block_index", &block_uploaded_alert::block_index)
|
||||||
.add_property("piece_index", &block_uploaded_alert::piece_index)
|
.add_property("piece_index", make_getter((&block_uploaded_alert::piece_index), by_value()))
|
||||||
;
|
;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue