back-port python binding patch to expose cache_flushed_alert

This commit is contained in:
arvidn 2016-11-10 19:42:27 -05:00 committed by Arvid Norberg
parent 3d39d71819
commit ab6940d560
1 changed files with 4 additions and 0 deletions

View File

@ -673,6 +673,10 @@ void bind_alert()
#endif
;
class_<cache_flushed_alert, bases<torrent_alert>, noncopyable>(
"cache_flushed_alert", no_init)
;
class_<anonymous_mode_alert, bases<torrent_alert>, noncopyable>(
"anonymous_mode_alert", no_init)
.def_readonly("kind", &anonymous_mode_alert::kind)