merged python fix from RC_0_16

This commit is contained in:
Arvid Norberg 2013-07-16 23:26:07 +00:00
parent a571f361a2
commit 77710e4ac0
1 changed files with 3 additions and 0 deletions

View File

@ -284,5 +284,8 @@ void bind_torrent_info()
.value("source_magnet_link", announce_entry::source_magnet_link)
.value("source_tex", announce_entry::source_tex)
;
implicitly_convertible<boost::intrusive_ptr<torrent_info>, boost::intrusive_ptr<const torrent_info> >();
boost::python::register_ptr_to_python<boost::intrusive_ptr<const torrent_info> >();
}