1111# include < boost/python/converter/registration.hpp>
1212# include < boost/python/detail/caller.hpp>
1313# include < boost/python/detail/arg_tuple_size.hpp>
14- # include < boost/python/detail/signature.hpp>
1514# include < boost/mpl/size.hpp>
1615# include < boost/function.hpp>
1716# include < boost/bind.hpp>
@@ -22,7 +21,6 @@ namespace boost { namespace python {
2221template <class F >
2322objects::function* make_function (F f)
2423{
25- converter::acquire_registrations (detail::signature (f));
2624 return new objects::function (
2725 objects::py_function (
2826 ::boost::bind<PyObject*>(detail::caller (), f, _1, _2, default_call_policies ()))
@@ -32,7 +30,6 @@ objects::function* make_function(F f)
3230template <class F , class Policies >
3331objects::function* make_function (F f, Policies const & policies)
3432{
35- converter::acquire_registrations (detail::signature (f));
3633 return new objects::function (
3734 objects::py_function (
3835 ::boost::bind<PyObject*>(detail::caller (), f, _1, _2, policies))
@@ -44,9 +41,6 @@ objects::function* make_constructor(T* = 0, ArgList* = 0, Generator* = 0)
4441{
4542 enum { nargs = mpl::size<ArgList>::value };
4643
47- typedef typename mpl::push_front<ArgList,void >::sequence signature;
48- converter::acquire_registrations (signature ());
49-
5044 return new objects::function (
5145 objects::py_function (
5246 ::boost::bind<PyObject*>(detail::caller (),
0 commit comments