Fix python bindings.
This commit is contained in:
parent
adf5487962
commit
8cea7e34ed
@ -69,7 +69,7 @@ namespace
|
|||||||
: cb(callback)
|
: cb(callback)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
boost::shared_ptr<torrent_plugin> operator()(torrent* t)
|
boost::shared_ptr<torrent_plugin> operator()(torrent* t, void*)
|
||||||
{
|
{
|
||||||
lock_gil lock;
|
lock_gil lock;
|
||||||
return extract<boost::shared_ptr<torrent_plugin> >(cb(ptr(t)))();
|
return extract<boost::shared_ptr<torrent_plugin> >(cb(ptr(t)))();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user