From 9c3677794b727009e7fa984b1583b460f069bfbd Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sun, 19 Oct 2008 06:03:37 +0000 Subject: [PATCH] Add smart_ban to python binding extensions --- bindings/python/src/extensions.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bindings/python/src/extensions.cpp b/bindings/python/src/extensions.cpp index 9489f99a1..1221e7012 100644 --- a/bindings/python/src/extensions.cpp +++ b/bindings/python/src/extensions.cpp @@ -9,6 +9,7 @@ #include #include #include +#include #include #include "gil.hpp" @@ -123,6 +124,10 @@ boost::shared_ptr create_ut_pex_plugin_wrapper(torrent* t) { return create_ut_pex_plugin(t, NULL); } +boost::shared_ptr create_smart_ban_plugin_wrapper(torrent* t) { + return create_smart_ban_plugin(t, NULL); +} + void bind_extensions() { class_< @@ -160,6 +165,7 @@ void bind_extensions() def("create_ut_pex_plugin", create_ut_pex_plugin_wrapper); def("create_metadata_plugin", create_metadata_plugin_wrapper); def("create_ut_metadata_plugin", create_ut_metadata_plugin_wrapper); + def("create_smart_ban_plugin", create_smart_ban_plugin_wrapper); }