From 6cb4fbb1c4660fbb0bde805c51a16f8f9cf26f5d Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Tue, 9 Jul 2002 19:21:52 +0000 Subject: [PATCH] Use Paul M's preprocessor iteration [SVN r14383] --- .../python/preprocessed/arg_tuple_size.hpp | 583 ---- include/boost/python/preprocessed/args.hpp | 169 - include/boost/python/preprocessed/call.hpp | 278 -- .../boost/python/preprocessed/call_method.hpp | 277 -- include/boost/python/preprocessed/caller.hpp | 413 --- .../boost/python/preprocessed/make_holder.hpp | 507 --- .../preprocessed/member_function_cast.hpp | 396 --- .../boost/python/preprocessed/object_call.hpp | 130 - .../python/preprocessed/pointer_holder.hpp | 230 -- .../ptr_holder_back_reference.hpp | 261 -- include/boost/python/preprocessed/result.hpp | 412 --- .../preprocessed/returning_non_void.hpp | 2805 ----------------- .../python/preprocessed/returning_void.hpp | 2565 --------------- include/boost/python/preprocessed/target.hpp | 402 --- .../python/preprocessed/value_holder.hpp | 228 -- .../value_holder_back_reference.hpp | 245 -- 16 files changed, 9901 deletions(-) delete mode 100644 include/boost/python/preprocessed/arg_tuple_size.hpp delete mode 100644 include/boost/python/preprocessed/args.hpp delete mode 100644 include/boost/python/preprocessed/call.hpp delete mode 100644 include/boost/python/preprocessed/call_method.hpp delete mode 100644 include/boost/python/preprocessed/caller.hpp delete mode 100644 include/boost/python/preprocessed/make_holder.hpp delete mode 100644 include/boost/python/preprocessed/member_function_cast.hpp delete mode 100755 include/boost/python/preprocessed/object_call.hpp delete mode 100644 include/boost/python/preprocessed/pointer_holder.hpp delete mode 100644 include/boost/python/preprocessed/ptr_holder_back_reference.hpp delete mode 100755 include/boost/python/preprocessed/result.hpp delete mode 100644 include/boost/python/preprocessed/returning_non_void.hpp delete mode 100644 include/boost/python/preprocessed/returning_void.hpp delete mode 100755 include/boost/python/preprocessed/target.hpp delete mode 100644 include/boost/python/preprocessed/value_holder.hpp delete mode 100644 include/boost/python/preprocessed/value_holder_back_reference.hpp diff --git a/include/boost/python/preprocessed/arg_tuple_size.hpp b/include/boost/python/preprocessed/arg_tuple_size.hpp deleted file mode 100644 index cc85236a..00000000 --- a/include/boost/python/preprocessed/arg_tuple_size.hpp +++ /dev/null @@ -1,583 +0,0 @@ -// Copyright David Abrahams 2002. Permission to copy, use, -// modify, sell and distribute this software is granted provided this -// copyright notice appears in all copies. This software is provided -// "as is" without express or implied warranty, and with no claim as -// to its suitability for any purpose. -#ifndef ARG_TUPLE_SIZE_DWA2002410_HPP -# define ARG_TUPLE_SIZE_DWA2002410_HPP - -# if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) - -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=0); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=1); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=2); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=3); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=4); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=5); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=6); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=7); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=8); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=9); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=10); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=11); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=12); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=13); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=14); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=15); -}; - -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=1); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=2); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=3); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=4); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=5); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=6); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=7); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=8); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=9); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=10); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=11); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=12); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=13); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=14); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=15); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=16); -}; - -// Metrowerks thinks this creates ambiguities -# if !defined(__MWERKS__) || __MWERKS__ > 0x2407 -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=1); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=2); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=3); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=4); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=5); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=6); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=7); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=8); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=9); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=10); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=11); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=12); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=13); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=14); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=15); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=16); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=1); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=2); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=3); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=4); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=5); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=6); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=7); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=8); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=9); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=10); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=11); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=12); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=13); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=14); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=15); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=16); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=1); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=2); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=3); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=4); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=5); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=6); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=7); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=8); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=9); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=10); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=11); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=12); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=13); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=14); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=15); -}; -template -struct arg_tuple_size -{ - BOOST_STATIC_CONSTANT(std::size_t,value=16); -}; -# endif -# else - -templatechar_array<0> -arg_tuple_size_helper(R(*)()); -templatechar_array<1> -arg_tuple_size_helper(R(*)(A0)); -templatechar_array<2> -arg_tuple_size_helper(R(*)(A0,A1)); -templatechar_array<3> -arg_tuple_size_helper(R(*)(A0,A1,A2)); -templatechar_array<4> -arg_tuple_size_helper(R(*)(A0,A1,A2,A3)); -templatechar_array<5> -arg_tuple_size_helper(R(*)(A0,A1,A2,A3,A4)); -templatechar_array<6> -arg_tuple_size_helper(R(*)(A0,A1,A2,A3,A4,A5)); -templatechar_array<7> -arg_tuple_size_helper(R(*)(A0,A1,A2,A3,A4,A5,A6)); -templatechar_array<8> -arg_tuple_size_helper(R(*)(A0,A1,A2,A3,A4,A5,A6,A7)); -templatechar_array<9> -arg_tuple_size_helper(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8)); -templatechar_array<10> -arg_tuple_size_helper(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9)); -templatechar_array<11> -arg_tuple_size_helper(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)); -templatechar_array<12> -arg_tuple_size_helper(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)); -templatechar_array<13> -arg_tuple_size_helper(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)); -templatechar_array<14> -arg_tuple_size_helper(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)); -templatechar_array<15> -arg_tuple_size_helper(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)); - - -templatechar_array<1> -arg_tuple_size_helper(R(A0::*)()); -templatechar_array<2> -arg_tuple_size_helper(R(A0::*)(A1)); -templatechar_array<3> -arg_tuple_size_helper(R(A0::*)(A1,A2)); -templatechar_array<4> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3)); -templatechar_array<5> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4)); -templatechar_array<6> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5)); -templatechar_array<7> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6)); -templatechar_array<8> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7)); -templatechar_array<9> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8)); -templatechar_array<10> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9)); -templatechar_array<11> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)); -templatechar_array<12> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)); -templatechar_array<13> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)); -templatechar_array<14> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)); -templatechar_array<15> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)); -templatechar_array<16> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)); -templatechar_array<1> -arg_tuple_size_helper(R(A0::*)()const); -templatechar_array<2> -arg_tuple_size_helper(R(A0::*)(A1)const); -templatechar_array<3> -arg_tuple_size_helper(R(A0::*)(A1,A2)const); -templatechar_array<4> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3)const); -templatechar_array<5> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4)const); -templatechar_array<6> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5)const); -templatechar_array<7> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6)const); -templatechar_array<8> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7)const); -templatechar_array<9> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8)const); -templatechar_array<10> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9)const); -templatechar_array<11> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)const); -templatechar_array<12> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)const); -templatechar_array<13> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)const); -templatechar_array<14> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)const); -templatechar_array<15> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)const); -templatechar_array<16> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)const); -templatechar_array<1> -arg_tuple_size_helper(R(A0::*)()volatile); -templatechar_array<2> -arg_tuple_size_helper(R(A0::*)(A1)volatile); -templatechar_array<3> -arg_tuple_size_helper(R(A0::*)(A1,A2)volatile); -templatechar_array<4> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3)volatile); -templatechar_array<5> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4)volatile); -templatechar_array<6> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5)volatile); -templatechar_array<7> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6)volatile); -templatechar_array<8> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7)volatile); -templatechar_array<9> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8)volatile); -templatechar_array<10> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9)volatile); -templatechar_array<11> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)volatile); -templatechar_array<12> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)volatile); -templatechar_array<13> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)volatile); -templatechar_array<14> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)volatile); -templatechar_array<15> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)volatile); -templatechar_array<16> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)volatile); -templatechar_array<1> -arg_tuple_size_helper(R(A0::*)()const volatile); -templatechar_array<2> -arg_tuple_size_helper(R(A0::*)(A1)const volatile); -templatechar_array<3> -arg_tuple_size_helper(R(A0::*)(A1,A2)const volatile); -templatechar_array<4> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3)const volatile); -templatechar_array<5> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4)const volatile); -templatechar_array<6> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5)const volatile); -templatechar_array<7> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6)const volatile); -templatechar_array<8> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7)const volatile); -templatechar_array<9> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8)const volatile); -templatechar_array<10> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9)const volatile); -templatechar_array<11> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)const volatile); -templatechar_array<12> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)const volatile); -templatechar_array<13> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)const volatile); -templatechar_array<14> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)const volatile); -templatechar_array<15> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)const volatile); -templatechar_array<16> -arg_tuple_size_helper(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)const volatile); - -# endif - -#endif // ARG_TUPLE_SIZE_DWA2002410_HPP diff --git a/include/boost/python/preprocessed/args.hpp b/include/boost/python/preprocessed/args.hpp deleted file mode 100644 index e33f4c52..00000000 --- a/include/boost/python/preprocessed/args.hpp +++ /dev/null @@ -1,169 +0,0 @@ -// Copyright David Abrahams 2002. Permission to copy, use, -// modify, sell and distribute this software is granted provided this -// copyright notice appears in all copies. This software is provided -// "as is" without express or implied warranty, and with no claim as -// to its suitability for any purpose. -#ifndef ARGS_DWA2002417_HPP -# define ARGS_DWA2002417_HPP - -template<> -struct size > -{ - BOOST_STATIC_CONSTANT(long,value=0); -}; -template -struct size > -{ - BOOST_STATIC_CONSTANT(long,value=1); -}; -template -struct size > -{ - BOOST_STATIC_CONSTANT(long,value=2); -}; -template -struct size > -{ - BOOST_STATIC_CONSTANT(long,value=3); -}; -template -struct size > -{ - BOOST_STATIC_CONSTANT(long,value=4); -}; -template -struct size > -{ - BOOST_STATIC_CONSTANT(long,value=5); -}; -template -struct size > -{ - BOOST_STATIC_CONSTANT(long,value=6); -}; -template -struct size > -{ - BOOST_STATIC_CONSTANT(long,value=7); -}; -template -struct size > -{ - BOOST_STATIC_CONSTANT(long,value=8); -}; -template -struct size > -{ - BOOST_STATIC_CONSTANT(long,value=9); -}; -template -struct size > -{ - BOOST_STATIC_CONSTANT(long,value=10); -}; -template -struct size > -{ - BOOST_STATIC_CONSTANT(long,value=11); -}; -template -struct size > -{ - BOOST_STATIC_CONSTANT(long,value=12); -}; -template -struct size > -{ - BOOST_STATIC_CONSTANT(long,value=13); -}; -template -struct size > -{ - BOOST_STATIC_CONSTANT(long,value=14); -}; -template -struct size > -{ - BOOST_STATIC_CONSTANT(long,value=15); -}; - - - - -template -struct at<0,boost::python::args > -{ - typedef A0 type; -}; -template -struct at<1,boost::python::args > -{ - typedef A1 type; -}; -template -struct at<2,boost::python::args > -{ - typedef A2 type; -}; -template -struct at<3,boost::python::args > -{ - typedef A3 type; -}; -template -struct at<4,boost::python::args > -{ - typedef A4 type; -}; -template -struct at<5,boost::python::args > -{ - typedef A5 type; -}; -template -struct at<6,boost::python::args > -{ - typedef A6 type; -}; -template -struct at<7,boost::python::args > -{ - typedef A7 type; -}; -template -struct at<8,boost::python::args > -{ - typedef A8 type; -}; -template -struct at<9,boost::python::args > -{ - typedef A9 type; -}; -template -struct at<10,boost::python::args > -{ - typedef A10 type; -}; -template -struct at<11,boost::python::args > -{ - typedef A11 type; -}; -template -struct at<12,boost::python::args > -{ - typedef A12 type; -}; -template -struct at<13,boost::python::args > -{ - typedef A13 type; -}; -template -struct at<14,boost::python::args > -{ - typedef A14 type; -}; - -#endif // ARGS_DWA2002417_HPP diff --git a/include/boost/python/preprocessed/call.hpp b/include/boost/python/preprocessed/call.hpp deleted file mode 100644 index 97ee70dd..00000000 --- a/include/boost/python/preprocessed/call.hpp +++ /dev/null @@ -1,278 +0,0 @@ -//Copyright David Abrahams 2002.Permission to copy,use, -//modify,sell and distribute this software is granted provided this -//copyright notice appears in all copies.This software is provided -//"as is" without express or implied warranty,and with no claim as -//to its suitability for any purpose. -#ifndef CALL_PP_DWA2002411_HPP -# define CALL_PP_DWA2002411_HPP - -// emacs commands used to pre-clean preprocessor output: -// (replace-regexp ", *converter" "\n, converter") -// (replace-string "PyEval_CallFunction(" "\nPyEval_CallFunction(\n") - -template -typename detail::returnable::type -call(PyObject*callable,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallFunction( - callable,const_cast("(" ")"))); -} -template -typename detail::returnable::type -call(PyObject*callable,A0 const&a0,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallFunction( - callable,const_cast("(" "O" ")") - ,converter::arg_to_python(a0).get())); -} -template -typename detail::returnable::type -call(PyObject*callable,A0 const&a0,A1 const&a1,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallFunction( - callable,const_cast("(" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get())); -} -template -typename detail::returnable::type -call(PyObject*callable,A0 const&a0,A1 const&a1,A2 const&a2,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallFunction( - callable,const_cast("(" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get())); -} -template -typename detail::returnable::type -call(PyObject*callable,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallFunction( - callable,const_cast("(" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get())); -} -template -typename detail::returnable::type -call(PyObject*callable,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallFunction( - callable,const_cast("(" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get())); -} -template -typename detail::returnable::type -call(PyObject*callable,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallFunction( - callable,const_cast("(" "O" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get() - ,converter::arg_to_python(a5).get())); -} -template -typename detail::returnable::type -call(PyObject*callable,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallFunction( - callable,const_cast("(" "O" "O" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get() - ,converter::arg_to_python(a5).get() - ,converter::arg_to_python(a6).get())); -} -template -typename detail::returnable::type -call(PyObject*callable,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallFunction( - callable,const_cast("(" "O" "O" "O" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get() - ,converter::arg_to_python(a5).get() - ,converter::arg_to_python(a6).get() - ,converter::arg_to_python(a7).get())); -} -template -typename detail::returnable::type -call(PyObject*callable,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallFunction( - callable,const_cast("(" "O" "O" "O" "O" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get() - ,converter::arg_to_python(a5).get() - ,converter::arg_to_python(a6).get() - ,converter::arg_to_python(a7).get() - ,converter::arg_to_python(a8).get())); -} -template -typename detail::returnable::type -call(PyObject*callable,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8,A9 const&a9,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallFunction( - callable,const_cast("(" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get() - ,converter::arg_to_python(a5).get() - ,converter::arg_to_python(a6).get() - ,converter::arg_to_python(a7).get() - ,converter::arg_to_python(a8).get() - ,converter::arg_to_python(a9).get())); -} -template -typename detail::returnable::type -call(PyObject*callable,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8,A9 const&a9,A10 const&a10,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallFunction( - callable,const_cast("(" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get() - ,converter::arg_to_python(a5).get() - ,converter::arg_to_python(a6).get() - ,converter::arg_to_python(a7).get() - ,converter::arg_to_python(a8).get() - ,converter::arg_to_python(a9).get() - ,converter::arg_to_python(a10).get())); -} -template -typename detail::returnable::type -call(PyObject*callable,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8,A9 const&a9,A10 const&a10,A11 const&a11,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallFunction( - callable,const_cast("(" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get() - ,converter::arg_to_python(a5).get() - ,converter::arg_to_python(a6).get() - ,converter::arg_to_python(a7).get() - ,converter::arg_to_python(a8).get() - ,converter::arg_to_python(a9).get() - ,converter::arg_to_python(a10).get() - ,converter::arg_to_python(a11).get())); -} -template -typename detail::returnable::type -call(PyObject*callable,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8,A9 const&a9,A10 const&a10,A11 const&a11,A12 const&a12,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallFunction( - callable,const_cast("(" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get() - ,converter::arg_to_python(a5).get() - ,converter::arg_to_python(a6).get() - ,converter::arg_to_python(a7).get() - ,converter::arg_to_python(a8).get() - ,converter::arg_to_python(a9).get() - ,converter::arg_to_python(a10).get() - ,converter::arg_to_python(a11).get() - ,converter::arg_to_python(a12).get())); -} -template -typename detail::returnable::type -call(PyObject*callable,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8,A9 const&a9,A10 const&a10,A11 const&a11,A12 const&a12,A13 const&a13,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallFunction( - callable,const_cast("(" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get() - ,converter::arg_to_python(a5).get() - ,converter::arg_to_python(a6).get() - ,converter::arg_to_python(a7).get() - ,converter::arg_to_python(a8).get() - ,converter::arg_to_python(a9).get() - ,converter::arg_to_python(a10).get() - ,converter::arg_to_python(a11).get() - ,converter::arg_to_python(a12).get() - ,converter::arg_to_python(a13).get())); -} -template -typename detail::returnable::type -call(PyObject*callable,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8,A9 const&a9,A10 const&a10,A11 const&a11,A12 const&a12,A13 const&a13,A14 const&a14,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallFunction( - callable,const_cast("(" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get() - ,converter::arg_to_python(a5).get() - ,converter::arg_to_python(a6).get() - ,converter::arg_to_python(a7).get() - ,converter::arg_to_python(a8).get() - ,converter::arg_to_python(a9).get() - ,converter::arg_to_python(a10).get() - ,converter::arg_to_python(a11).get() - ,converter::arg_to_python(a12).get() - ,converter::arg_to_python(a13).get() - ,converter::arg_to_python(a14).get())); -} - -#endif // CALL_PP_DWA2002411_HPP diff --git a/include/boost/python/preprocessed/call_method.hpp b/include/boost/python/preprocessed/call_method.hpp deleted file mode 100644 index a0783402..00000000 --- a/include/boost/python/preprocessed/call_method.hpp +++ /dev/null @@ -1,277 +0,0 @@ -//Copyright David Abrahams 2002.Permission to copy,use, -//modify,sell and distribute this software is granted provided this -//copyright notice appears in all copies.This software is provided -//"as is" without express or implied warranty,and with no claim as -//to its suitability for any purpose. -#ifndef CALL_METHOD_PP_DWA2002411_HPP -# define CALL_METHOD_PP_DWA2002411_HPP - -// emacs commands used to pre-clean preprocessor output: -// (replace-regexp ", *converter" "\n, converter") -// (replace-string "PyEval_CallMethod(" "\nPyEval_CallMethod(\n") - -template -typename detail::returnable::type -call_method(PyObject*self,char const*name,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallMethod( - self,const_cast(name),const_cast("(" ")"))); -} -template -typename detail::returnable::type -call_method(PyObject*self,char const*name,A0 const&a0,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallMethod( - self,const_cast(name),const_cast("(" "O" ")") - ,converter::arg_to_python(a0).get())); -} -template -typename detail::returnable::type -call_method(PyObject*self,char const*name,A0 const&a0,A1 const&a1,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallMethod( - self,const_cast(name),const_cast("(" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get())); -} -template -typename detail::returnable::type -call_method(PyObject*self,char const*name,A0 const&a0,A1 const&a1,A2 const&a2,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallMethod( - self,const_cast(name),const_cast("(" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get())); -} -template -typename detail::returnable::type -call_method(PyObject*self,char const*name,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallMethod( - self,const_cast(name),const_cast("(" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get())); -} -template -typename detail::returnable::type -call_method(PyObject*self,char const*name,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallMethod( - self,const_cast(name),const_cast("(" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get())); -} -template -typename detail::returnable::type -call_method(PyObject*self,char const*name,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallMethod( - self,const_cast(name),const_cast("(" "O" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get() - ,converter::arg_to_python(a5).get())); -} -template -typename detail::returnable::type -call_method(PyObject*self,char const*name,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallMethod( - self,const_cast(name),const_cast("(" "O" "O" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get() - ,converter::arg_to_python(a5).get() - ,converter::arg_to_python(a6).get())); -} -template -typename detail::returnable::type -call_method(PyObject*self,char const*name,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallMethod( - self,const_cast(name),const_cast("(" "O" "O" "O" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get() - ,converter::arg_to_python(a5).get() - ,converter::arg_to_python(a6).get() - ,converter::arg_to_python(a7).get())); -} -template -typename detail::returnable::type -call_method(PyObject*self,char const*name,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallMethod( - self,const_cast(name),const_cast("(" "O" "O" "O" "O" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get() - ,converter::arg_to_python(a5).get() - ,converter::arg_to_python(a6).get() - ,converter::arg_to_python(a7).get() - ,converter::arg_to_python(a8).get())); -} -template -typename detail::returnable::type -call_method(PyObject*self,char const*name,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8,A9 const&a9,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallMethod( - self,const_cast(name),const_cast("(" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get() - ,converter::arg_to_python(a5).get() - ,converter::arg_to_python(a6).get() - ,converter::arg_to_python(a7).get() - ,converter::arg_to_python(a8).get() - ,converter::arg_to_python(a9).get())); -} -template -typename detail::returnable::type -call_method(PyObject*self,char const*name,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8,A9 const&a9,A10 const&a10,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallMethod( - self,const_cast(name),const_cast("(" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get() - ,converter::arg_to_python(a5).get() - ,converter::arg_to_python(a6).get() - ,converter::arg_to_python(a7).get() - ,converter::arg_to_python(a8).get() - ,converter::arg_to_python(a9).get() - ,converter::arg_to_python(a10).get())); -} -template -typename detail::returnable::type -call_method(PyObject*self,char const*name,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8,A9 const&a9,A10 const&a10,A11 const&a11,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallMethod( - self,const_cast(name),const_cast("(" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get() - ,converter::arg_to_python(a5).get() - ,converter::arg_to_python(a6).get() - ,converter::arg_to_python(a7).get() - ,converter::arg_to_python(a8).get() - ,converter::arg_to_python(a9).get() - ,converter::arg_to_python(a10).get() - ,converter::arg_to_python(a11).get())); -} -template -typename detail::returnable::type -call_method(PyObject*self,char const*name,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8,A9 const&a9,A10 const&a10,A11 const&a11,A12 const&a12,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallMethod( - self,const_cast(name),const_cast("(" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get() - ,converter::arg_to_python(a5).get() - ,converter::arg_to_python(a6).get() - ,converter::arg_to_python(a7).get() - ,converter::arg_to_python(a8).get() - ,converter::arg_to_python(a9).get() - ,converter::arg_to_python(a10).get() - ,converter::arg_to_python(a11).get() - ,converter::arg_to_python(a12).get())); -} -template -typename detail::returnable::type -call_method(PyObject*self,char const*name,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8,A9 const&a9,A10 const&a10,A11 const&a11,A12 const&a12,A13 const&a13,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallMethod( - self,const_cast(name),const_cast("(" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get() - ,converter::arg_to_python(a5).get() - ,converter::arg_to_python(a6).get() - ,converter::arg_to_python(a7).get() - ,converter::arg_to_python(a8).get() - ,converter::arg_to_python(a9).get() - ,converter::arg_to_python(a10).get() - ,converter::arg_to_python(a11).get() - ,converter::arg_to_python(a12).get() - ,converter::arg_to_python(a13).get())); -} -template -typename detail::returnable::type -call_method(PyObject*self,char const*name,A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8,A9 const&a9,A10 const&a10,A11 const&a11,A12 const&a12,A13 const&a13,A14 const&a14,boost::type* =0) -{ - converter::return_from_pythonconverter; - return converter( - PyEval_CallMethod( - self,const_cast(name),const_cast("(" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" "O" ")") - ,converter::arg_to_python(a0).get() - ,converter::arg_to_python(a1).get() - ,converter::arg_to_python(a2).get() - ,converter::arg_to_python(a3).get() - ,converter::arg_to_python(a4).get() - ,converter::arg_to_python(a5).get() - ,converter::arg_to_python(a6).get() - ,converter::arg_to_python(a7).get() - ,converter::arg_to_python(a8).get() - ,converter::arg_to_python(a9).get() - ,converter::arg_to_python(a10).get() - ,converter::arg_to_python(a11).get() - ,converter::arg_to_python(a12).get() - ,converter::arg_to_python(a13).get() - ,converter::arg_to_python(a14).get())); -} -#endif// CALL_METHOD_PP_DWA2002411_HPP diff --git a/include/boost/python/preprocessed/caller.hpp b/include/boost/python/preprocessed/caller.hpp deleted file mode 100644 index dfbe40fc..00000000 --- a/include/boost/python/preprocessed/caller.hpp +++ /dev/null @@ -1,413 +0,0 @@ -// Copyright David Abrahams 2002. Permission to copy, use, -// modify, sell and distribute this software is granted provided this -// copyright notice appears in all copies. This software is provided -// "as is" without express or implied warranty, and with no claim as -// to its suitability for any purpose. -#ifndef CALLER_DWA2002410_HPP -# define CALLER_DWA2002410_HPP - -template -PyObject*operator()(R(*f)(),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(*f)(A0),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(*f)(A0,A1),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(*f)(A0,A1,A2),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(*f)(A0,A1,A2,A3),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(*f)(A0,A1,A2,A3,A4),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(*f)(A0,A1,A2,A3,A4,A5),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(*f)(A0,A1,A2,A3,A4,A5,A6),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(*f)(A0,A1,A2,A3,A4,A5,A6,A7),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(*f)(A0,A1,A2,A3,A4,A5,A6,A7,A8),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(*f)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(*f)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(*f)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(*f)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(*f)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(*f)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} - - - - -template -PyObject*operator()(R(A0::*f)(),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15),PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)()const,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1)const,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2)const,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3)const,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4)const,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5)const,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6)const,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7)const,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8)const,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9)const,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)const,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)const,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)const,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)const,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)const,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)const,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)()volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1)volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2)volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3)volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4)volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5)volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6)volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7)volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8)volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9)volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)()const volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1)const volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2)const volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3)const volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4)const volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5)const volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6)const volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7)const volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8)const volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9)const volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)const volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)const volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)const volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)const volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)const volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -template -PyObject*operator()(R(A0::*f)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)const volatile,PyObject*args,PyObject*keywords,P const&policies)const -{ - return returning::call(f,args,keywords,&policies); -} -#endif // CALLER_DWA2002410_HPP diff --git a/include/boost/python/preprocessed/make_holder.hpp b/include/boost/python/preprocessed/make_holder.hpp deleted file mode 100644 index dd226a89..00000000 --- a/include/boost/python/preprocessed/make_holder.hpp +++ /dev/null @@ -1,507 +0,0 @@ -// Copyright David Abrahams 2002. Permission to copy, use, -// modify, sell and distribute this software is granted provided this -// copyright notice appears in all copies. This software is provided -// "as is" without express or implied warranty, and with no claim as -// to its suitability for any purpose. -#ifndef MAKE_HOLDER_DWA2002416_HPP -# define MAKE_HOLDER_DWA2002416_HPP - -template<> -struct make_holder<0> -{ - template - struct apply - { - static void - execute(PyObject*p) - { - (new - Holder(p))->install(p); - } - - }; - -}; -template<> -struct make_holder<1> -{ - template - struct apply - { - typedef typename mpl::at<0,ArgList>::type t0; - typedef typename forward::type f0; - static void - execute(PyObject*p,t0 a0) - { - (new - Holder(p,f0(a0)))->install(p); - } - - }; - -}; -template<> -struct make_holder<2> -{ - template - struct apply - { - typedef typename mpl::at<0,ArgList>::type t0; - typedef typename forward::type f0; - typedef typename mpl::at<1,ArgList>::type t1; - typedef typename forward::type f1; - static void - execute(PyObject*p,t0 a0,t1 a1) - { - (new - Holder(p,f0(a0),f1(a1)))->install(p); - } - - }; - -}; -template<> -struct make_holder<3> -{ - template - struct apply - { - typedef typename mpl::at<0,ArgList>::type t0; - typedef typename forward::type f0; - typedef typename mpl::at<1,ArgList>::type t1; - typedef typename forward::type f1; - typedef typename mpl::at<2,ArgList>::type t2; - typedef typename forward::type f2; - static void - execute(PyObject*p,t0 a0,t1 a1,t2 a2) - { - (new - Holder(p,f0(a0),f1(a1),f2(a2)))->install(p); - } - - }; - -}; -template<> -struct make_holder<4> -{ - template - struct apply - { - typedef typename mpl::at<0,ArgList>::type t0; - typedef typename forward::type f0; - typedef typename mpl::at<1,ArgList>::type t1; - typedef typename forward::type f1; - typedef typename mpl::at<2,ArgList>::type t2; - typedef typename forward::type f2; - typedef typename mpl::at<3,ArgList>::type t3; - typedef typename forward::type f3; - static void - execute(PyObject*p,t0 a0,t1 a1,t2 a2,t3 a3) - { - (new - Holder(p,f0(a0),f1(a1),f2(a2),f3(a3)))->install(p); - } - - }; - -}; -template<> -struct make_holder<5> -{ - template - struct apply - { - typedef typename mpl::at<0,ArgList>::type t0; - typedef typename forward::type f0; - typedef typename mpl::at<1,ArgList>::type t1; - typedef typename forward::type f1; - typedef typename mpl::at<2,ArgList>::type t2; - typedef typename forward::type f2; - typedef typename mpl::at<3,ArgList>::type t3; - typedef typename forward::type f3; - typedef typename mpl::at<4,ArgList>::type t4; - typedef typename forward::type f4; - static void - execute(PyObject*p,t0 a0,t1 a1,t2 a2,t3 a3,t4 a4) - { - (new - Holder(p,f0(a0),f1(a1),f2(a2),f3(a3),f4(a4)))->install(p); - } - - }; - -}; -template<> -struct make_holder<6> -{ - template - struct apply - { - typedef typename mpl::at<0,ArgList>::type t0; - typedef typename forward::type f0; - typedef typename mpl::at<1,ArgList>::type t1; - typedef typename forward::type f1; - typedef typename mpl::at<2,ArgList>::type t2; - typedef typename forward::type f2; - typedef typename mpl::at<3,ArgList>::type t3; - typedef typename forward::type f3; - typedef typename mpl::at<4,ArgList>::type t4; - typedef typename forward::type f4; - typedef typename mpl::at<5,ArgList>::type t5; - typedef typename forward::type f5; - static void - execute(PyObject*p,t0 a0,t1 a1,t2 a2,t3 a3,t4 a4,t5 a5) - { - (new - Holder(p,f0(a0),f1(a1),f2(a2),f3(a3),f4(a4),f5(a5)))->install(p); - } - - }; - -}; -template<> -struct make_holder<7> -{ - template - struct apply - { - typedef typename mpl::at<0,ArgList>::type t0; - typedef typename forward::type f0; - typedef typename mpl::at<1,ArgList>::type t1; - typedef typename forward::type f1; - typedef typename mpl::at<2,ArgList>::type t2; - typedef typename forward::type f2; - typedef typename mpl::at<3,ArgList>::type t3; - typedef typename forward::type f3; - typedef typename mpl::at<4,ArgList>::type t4; - typedef typename forward::type f4; - typedef typename mpl::at<5,ArgList>::type t5; - typedef typename forward::type f5; - typedef typename mpl::at<6,ArgList>::type t6; - typedef typename forward::type f6; - static void - execute(PyObject*p,t0 a0,t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6) - { - (new - Holder(p,f0(a0),f1(a1),f2(a2),f3(a3),f4(a4),f5(a5),f6(a6)))->install(p); - } - - }; - -}; -template<> -struct make_holder<8> -{ - template - struct apply - { - typedef typename mpl::at<0,ArgList>::type t0; - typedef typename forward::type f0; - typedef typename mpl::at<1,ArgList>::type t1; - typedef typename forward::type f1; - typedef typename mpl::at<2,ArgList>::type t2; - typedef typename forward::type f2; - typedef typename mpl::at<3,ArgList>::type t3; - typedef typename forward::type f3; - typedef typename mpl::at<4,ArgList>::type t4; - typedef typename forward::type f4; - typedef typename mpl::at<5,ArgList>::type t5; - typedef typename forward::type f5; - typedef typename mpl::at<6,ArgList>::type t6; - typedef typename forward::type f6; - typedef typename mpl::at<7,ArgList>::type t7; - typedef typename forward::type f7; - static void - execute(PyObject*p,t0 a0,t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7) - { - (new - Holder(p,f0(a0),f1(a1),f2(a2),f3(a3),f4(a4),f5(a5),f6(a6),f7(a7)))->install(p); - } - - }; - -}; -template<> -struct make_holder<9> -{ - template - struct apply - { - typedef typename mpl::at<0,ArgList>::type t0; - typedef typename forward::type f0; - typedef typename mpl::at<1,ArgList>::type t1; - typedef typename forward::type f1; - typedef typename mpl::at<2,ArgList>::type t2; - typedef typename forward::type f2; - typedef typename mpl::at<3,ArgList>::type t3; - typedef typename forward::type f3; - typedef typename mpl::at<4,ArgList>::type t4; - typedef typename forward::type f4; - typedef typename mpl::at<5,ArgList>::type t5; - typedef typename forward::type f5; - typedef typename mpl::at<6,ArgList>::type t6; - typedef typename forward::type f6; - typedef typename mpl::at<7,ArgList>::type t7; - typedef typename forward::type f7; - typedef typename mpl::at<8,ArgList>::type t8; - typedef typename forward::type f8; - static void - execute(PyObject*p,t0 a0,t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8) - { - (new - Holder(p,f0(a0),f1(a1),f2(a2),f3(a3),f4(a4),f5(a5),f6(a6),f7(a7),f8(a8)))->install(p); - } - - }; - -}; -template<> -struct make_holder<10> -{ - template - struct apply - { - typedef typename mpl::at<0,ArgList>::type t0; - typedef typename forward::type f0; - typedef typename mpl::at<1,ArgList>::type t1; - typedef typename forward::type f1; - typedef typename mpl::at<2,ArgList>::type t2; - typedef typename forward::type f2; - typedef typename mpl::at<3,ArgList>::type t3; - typedef typename forward::type f3; - typedef typename mpl::at<4,ArgList>::type t4; - typedef typename forward::type f4; - typedef typename mpl::at<5,ArgList>::type t5; - typedef typename forward::type f5; - typedef typename mpl::at<6,ArgList>::type t6; - typedef typename forward::type f6; - typedef typename mpl::at<7,ArgList>::type t7; - typedef typename forward::type f7; - typedef typename mpl::at<8,ArgList>::type t8; - typedef typename forward::type f8; - typedef typename mpl::at<9,ArgList>::type t9; - typedef typename forward::type f9; - static void - execute(PyObject*p,t0 a0,t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9) - { - (new - Holder(p,f0(a0),f1(a1),f2(a2),f3(a3),f4(a4),f5(a5),f6(a6),f7(a7),f8(a8),f9(a9)))->install(p); - } - - }; - -}; -template<> -struct make_holder<11> -{ - template - struct apply - { - typedef typename mpl::at<0,ArgList>::type t0; - typedef typename forward::type f0; - typedef typename mpl::at<1,ArgList>::type t1; - typedef typename forward::type f1; - typedef typename mpl::at<2,ArgList>::type t2; - typedef typename forward::type f2; - typedef typename mpl::at<3,ArgList>::type t3; - typedef typename forward::type f3; - typedef typename mpl::at<4,ArgList>::type t4; - typedef typename forward::type f4; - typedef typename mpl::at<5,ArgList>::type t5; - typedef typename forward::type f5; - typedef typename mpl::at<6,ArgList>::type t6; - typedef typename forward::type f6; - typedef typename mpl::at<7,ArgList>::type t7; - typedef typename forward::type f7; - typedef typename mpl::at<8,ArgList>::type t8; - typedef typename forward::type f8; - typedef typename mpl::at<9,ArgList>::type t9; - typedef typename forward::type f9; - typedef typename mpl::at<10,ArgList>::type t10; - typedef typename forward::type f10; - static void - execute(PyObject*p,t0 a0,t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10) - { - (new - Holder(p,f0(a0),f1(a1),f2(a2),f3(a3),f4(a4),f5(a5),f6(a6),f7(a7),f8(a8),f9(a9),f10(a10)))->install(p); - } - - }; - -}; -template<> -struct make_holder<12> -{ - template - struct apply - { - typedef typename mpl::at<0,ArgList>::type t0; - typedef typename forward::type f0; - typedef typename mpl::at<1,ArgList>::type t1; - typedef typename forward::type f1; - typedef typename mpl::at<2,ArgList>::type t2; - typedef typename forward::type f2; - typedef typename mpl::at<3,ArgList>::type t3; - typedef typename forward::type f3; - typedef typename mpl::at<4,ArgList>::type t4; - typedef typename forward::type f4; - typedef typename mpl::at<5,ArgList>::type t5; - typedef typename forward::type f5; - typedef typename mpl::at<6,ArgList>::type t6; - typedef typename forward::type f6; - typedef typename mpl::at<7,ArgList>::type t7; - typedef typename forward::type f7; - typedef typename mpl::at<8,ArgList>::type t8; - typedef typename forward::type f8; - typedef typename mpl::at<9,ArgList>::type t9; - typedef typename forward::type f9; - typedef typename mpl::at<10,ArgList>::type t10; - typedef typename forward::type f10; - typedef typename mpl::at<11,ArgList>::type t11; - typedef typename forward::type f11; - static void - execute(PyObject*p,t0 a0,t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11) - { - (new - Holder(p,f0(a0),f1(a1),f2(a2),f3(a3),f4(a4),f5(a5),f6(a6),f7(a7),f8(a8),f9(a9),f10(a10),f11(a11)))->install(p); - } - - }; - -}; -template<> -struct make_holder<13> -{ - template - struct apply - { - typedef typename mpl::at<0,ArgList>::type t0; - typedef typename forward::type f0; - typedef typename mpl::at<1,ArgList>::type t1; - typedef typename forward::type f1; - typedef typename mpl::at<2,ArgList>::type t2; - typedef typename forward::type f2; - typedef typename mpl::at<3,ArgList>::type t3; - typedef typename forward::type f3; - typedef typename mpl::at<4,ArgList>::type t4; - typedef typename forward::type f4; - typedef typename mpl::at<5,ArgList>::type t5; - typedef typename forward::type f5; - typedef typename mpl::at<6,ArgList>::type t6; - typedef typename forward::type f6; - typedef typename mpl::at<7,ArgList>::type t7; - typedef typename forward::type f7; - typedef typename mpl::at<8,ArgList>::type t8; - typedef typename forward::type f8; - typedef typename mpl::at<9,ArgList>::type t9; - typedef typename forward::type f9; - typedef typename mpl::at<10,ArgList>::type t10; - typedef typename forward::type f10; - typedef typename mpl::at<11,ArgList>::type t11; - typedef typename forward::type f11; - typedef typename mpl::at<12,ArgList>::type t12; - typedef typename forward::type f12; - static void - execute(PyObject*p,t0 a0,t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12) - { - (new - Holder(p,f0(a0),f1(a1),f2(a2),f3(a3),f4(a4),f5(a5),f6(a6),f7(a7),f8(a8),f9(a9),f10(a10),f11(a11),f12(a12)))->install(p); - } - - }; - -}; -template<> -struct make_holder<14> -{ - template - struct apply - { - typedef typename mpl::at<0,ArgList>::type t0; - typedef typename forward::type f0; - typedef typename mpl::at<1,ArgList>::type t1; - typedef typename forward::type f1; - typedef typename mpl::at<2,ArgList>::type t2; - typedef typename forward::type f2; - typedef typename mpl::at<3,ArgList>::type t3; - typedef typename forward::type f3; - typedef typename mpl::at<4,ArgList>::type t4; - typedef typename forward::type f4; - typedef typename mpl::at<5,ArgList>::type t5; - typedef typename forward::type f5; - typedef typename mpl::at<6,ArgList>::type t6; - typedef typename forward::type f6; - typedef typename mpl::at<7,ArgList>::type t7; - typedef typename forward::type f7; - typedef typename mpl::at<8,ArgList>::type t8; - typedef typename forward::type f8; - typedef typename mpl::at<9,ArgList>::type t9; - typedef typename forward::type f9; - typedef typename mpl::at<10,ArgList>::type t10; - typedef typename forward::type f10; - typedef typename mpl::at<11,ArgList>::type t11; - typedef typename forward::type f11; - typedef typename mpl::at<12,ArgList>::type t12; - typedef typename forward::type f12; - typedef typename mpl::at<13,ArgList>::type t13; - typedef typename forward::type f13; - static void - execute(PyObject*p,t0 a0,t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12,t13 a13) - { - (new - Holder(p,f0(a0),f1(a1),f2(a2),f3(a3),f4(a4),f5(a5),f6(a6),f7(a7),f8(a8),f9(a9),f10(a10),f11(a11),f12(a12),f13(a13)))->install(p); - } - - }; - -}; -template<> -struct make_holder<15> -{ - template - struct apply - { - typedef typename mpl::at<0,ArgList>::type t0; - typedef typename forward::type f0; - typedef typename mpl::at<1,ArgList>::type t1; - typedef typename forward::type f1; - typedef typename mpl::at<2,ArgList>::type t2; - typedef typename forward::type f2; - typedef typename mpl::at<3,ArgList>::type t3; - typedef typename forward::type f3; - typedef typename mpl::at<4,ArgList>::type t4; - typedef typename forward::type f4; - typedef typename mpl::at<5,ArgList>::type t5; - typedef typename forward::type f5; - typedef typename mpl::at<6,ArgList>::type t6; - typedef typename forward::type f6; - typedef typename mpl::at<7,ArgList>::type t7; - typedef typename forward::type f7; - typedef typename mpl::at<8,ArgList>::type t8; - typedef typename forward::type f8; - typedef typename mpl::at<9,ArgList>::type t9; - typedef typename forward::type f9; - typedef typename mpl::at<10,ArgList>::type t10; - typedef typename forward::type f10; - typedef typename mpl::at<11,ArgList>::type t11; - typedef typename forward::type f11; - typedef typename mpl::at<12,ArgList>::type t12; - typedef typename forward::type f12; - typedef typename mpl::at<13,ArgList>::type t13; - typedef typename forward::type f13; - typedef typename mpl::at<14,ArgList>::type t14; - typedef typename forward::type f14; - static void - execute(PyObject*p,t0 a0,t1 a1,t2 a2,t3 a3,t4 a4,t5 a5,t6 a6,t7 a7,t8 a8,t9 a9,t10 a10,t11 a11,t12 a12,t13 a13,t14 a14) - { - (new - Holder(p,f0(a0),f1(a1),f2(a2),f3(a3),f4(a4),f5(a5),f6(a6),f7(a7),f8(a8),f9(a9),f10(a10),f11(a11),f12(a12),f13(a13),f14(a14)))->install(p); - } - - }; - -}; -#endif // MAKE_HOLDER_DWA2002416_HPP - - diff --git a/include/boost/python/preprocessed/member_function_cast.hpp b/include/boost/python/preprocessed/member_function_cast.hpp deleted file mode 100644 index d8a6a54e..00000000 --- a/include/boost/python/preprocessed/member_function_cast.hpp +++ /dev/null @@ -1,396 +0,0 @@ -// Copyright David Abrahams 2002. Permission to copy, use, -// modify, sell and distribute this software is granted provided this -// copyright notice appears in all copies. This software is provided -// "as is" without express or implied warranty, and with no claim as -// to its suitability for any purpose. -#ifndef MEMBER_FUNCTION_CAST_DWA2002410_HPP -# define MEMBER_FUNCTION_CAST_DWA2002410_HPP - -// emacs commands used to pre-clean preprocessor output -// (replace-regexp "> *stage1(" ">\nstage1(") - -template -static cast_helper -stage1(R(S::*)()) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1)) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2)) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3)) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4)) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5)) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6)) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7)) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8)) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9)) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)()const) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1)const) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2)const) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3)const) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4)const) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5)const) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6)const) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7)const) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8)const) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9)const) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)const) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)const) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)const) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)const) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)const) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)const) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)()volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1)volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2)volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3)volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4)volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5)volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6)volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7)volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8)volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9)volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)()const volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1)const volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2)const volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3)const volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4)const volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5)const volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6)const volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7)const volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8)const volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9)const volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)const volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)const volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)const volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)const volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)const volatile) -{ - return cast_helper(); -} -template -static cast_helper -stage1(R(S::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)const volatile) -{ - return cast_helper(); -} -#endif // MEMBER_FUNCTION_CAST_DWA2002410_HPP diff --git a/include/boost/python/preprocessed/object_call.hpp b/include/boost/python/preprocessed/object_call.hpp deleted file mode 100755 index ec3ba43e..00000000 --- a/include/boost/python/preprocessed/object_call.hpp +++ /dev/null @@ -1,130 +0,0 @@ -// Copyright David Abrahams 2002. Permission to copy, use, -// modify, sell and distribute this software is granted provided this -// copyright notice appears in all copies. This software is provided -// "as is" without express or implied warranty, and with no claim as -// to its suitability for any purpose. -#ifndef OBJECT_CALL_DWA2002612_HPP -# define OBJECT_CALL_DWA2002612_HPP - -template -typename dependent::type -operator()(A0 const&a0)const -{ - typedef typename dependent::type obj; - U const&self=*static_cast(this); - return call(converter::get_managed_object(self),a0); -} -template -typename dependent::type -operator()(A0 const&a0,A1 const&a1)const -{ - typedef typename dependent::type obj; - U const&self=*static_cast(this); - return call(converter::get_managed_object(self),a0,a1); -} -template -typename dependent::type -operator()(A0 const&a0,A1 const&a1,A2 const&a2)const -{ - typedef typename dependent::type obj; - U const&self=*static_cast(this); - return call(converter::get_managed_object(self),a0,a1,a2); -} -template -typename dependent::type -operator()(A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3)const -{ - typedef typename dependent::type obj; - U const&self=*static_cast(this); - return call(converter::get_managed_object(self),a0,a1,a2,a3); -} -template -typename dependent::type -operator()(A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4)const -{ - typedef typename dependent::type obj; - U const&self=*static_cast(this); - return call(converter::get_managed_object(self),a0,a1,a2,a3,a4); -} -template -typename dependent::type -operator()(A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5)const -{ - typedef typename dependent::type obj; - U const&self=*static_cast(this); - return call(converter::get_managed_object(self),a0,a1,a2,a3,a4,a5); -} -template -typename dependent::type -operator()(A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6)const -{ - typedef typename dependent::type obj; - U const&self=*static_cast(this); - return call(converter::get_managed_object(self),a0,a1,a2,a3,a4,a5,a6); -} -template -typename dependent::type -operator()(A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7)const -{ - typedef typename dependent::type obj; - U const&self=*static_cast(this); - return call(converter::get_managed_object(self),a0,a1,a2,a3,a4,a5,a6,a7); -} -template -typename dependent::type -operator()(A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8)const -{ - typedef typename dependent::type obj; - U const&self=*static_cast(this); - return call(converter::get_managed_object(self),a0,a1,a2,a3,a4,a5,a6,a7,a8); -} -template -typename dependent::type -operator()(A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8,A9 const&a9)const -{ - typedef typename dependent::type obj; - U const&self=*static_cast(this); - return call(converter::get_managed_object(self),a0,a1,a2,a3,a4,a5,a6,a7,a8,a9); -} -template -typename dependent::type -operator()(A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8,A9 const&a9,A10 const&a10)const -{ - typedef typename dependent::type obj; - U const&self=*static_cast(this); - return call(converter::get_managed_object(self),a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); -} -template -typename dependent::type -operator()(A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8,A9 const&a9,A10 const&a10,A11 const&a11)const -{ - typedef typename dependent::type obj; - U const&self=*static_cast(this); - return call(converter::get_managed_object(self),a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11); -} -template -typename dependent::type -operator()(A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8,A9 const&a9,A10 const&a10,A11 const&a11,A12 const&a12)const -{ - typedef typename dependent::type obj; - U const&self=*static_cast(this); - return call(converter::get_managed_object(self),a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12); -} -template -typename dependent::type -operator()(A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8,A9 const&a9,A10 const&a10,A11 const&a11,A12 const&a12,A13 const&a13)const -{ - typedef typename dependent::type obj; - U const&self=*static_cast(this); - return call(converter::get_managed_object(self),a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13); -} -template -typename dependent::type -operator()(A0 const&a0,A1 const&a1,A2 const&a2,A3 const&a3,A4 const&a4,A5 const&a5,A6 const&a6,A7 const&a7,A8 const&a8,A9 const&a9,A10 const&a10,A11 const&a11,A12 const&a12,A13 const&a13,A14 const&a14)const -{ - typedef typename dependent::type obj; - U const&self=*static_cast(this); - return call(converter::get_managed_object(self),a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14); -} - -#endif // OBJECT_CALL_DWA2002612_HPP diff --git a/include/boost/python/preprocessed/pointer_holder.hpp b/include/boost/python/preprocessed/pointer_holder.hpp deleted file mode 100644 index bce4d80c..00000000 --- a/include/boost/python/preprocessed/pointer_holder.hpp +++ /dev/null @@ -1,230 +0,0 @@ -// Copyright David Abrahams 2002. Permission to copy, use, -// modify, sell and distribute this software is granted provided this -// copyright notice appears in all copies. This software is provided -// "as is" without express or implied warranty, and with no claim as -// to its suitability for any purpose. -#ifndef POINTER_HOLDER_DWA2002411_HPP -# define POINTER_HOLDER_DWA2002411_HPP - -// emacs commands used to pre-clean preprocessor output: -// (replace-regexp ": *m_p *(" "\n: m_p(") -// (replace-regexp "Value(" "Value(\n") -// (replace-regexp ", *(" "\n, (") - -pointer_holder(PyObject*) - :m_p(new Value( - )) -{ - -} -template -pointer_holder(PyObject*,A0 a0) - :m_p(new Value( - (typename unforward::type)(a0))) -{ - -} -template -pointer_holder(PyObject*,A0 a0,A1 a1) - :m_p(new Value( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1))) -{ - -} -template -pointer_holder(PyObject*,A0 a0,A1 a1,A2 a2) - :m_p(new Value( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2))) -{ - -} -template -pointer_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3) - :m_p(new Value( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3))) -{ - -} -template -pointer_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4) - :m_p(new Value( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4))) -{ - -} -template -pointer_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5) - :m_p(new Value( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5))) -{ - -} -template -pointer_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6) - :m_p(new Value( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6))) -{ - -} -template -pointer_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7) - :m_p(new Value( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7))) -{ - -} -template -pointer_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8) - :m_p(new Value( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8))) -{ - -} -template -pointer_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9) - :m_p(new Value( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9))) -{ - -} -template -pointer_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9,A10 a10) - :m_p(new Value( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9) - ,(typename unforward::type)(a10))) -{ - -} -template -pointer_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9,A10 a10,A11 a11) - :m_p(new Value( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9) - ,(typename unforward::type)(a10) - ,(typename unforward::type)(a11))) -{ - -} -template -pointer_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9,A10 a10,A11 a11,A12 a12) - :m_p(new Value( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9) - ,(typename unforward::type)(a10) - ,(typename unforward::type)(a11) - ,(typename unforward::type)(a12))) -{ - -} -template -pointer_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9,A10 a10,A11 a11,A12 a12,A13 a13) - :m_p(new Value( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9) - ,(typename unforward::type)(a10) - ,(typename unforward::type)(a11) - ,(typename unforward::type)(a12) - ,(typename unforward::type)(a13))) -{ - -} -template -pointer_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9,A10 a10,A11 a11,A12 a12,A13 a13,A14 a14) - :m_p(new Value( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9) - ,(typename unforward::type)(a10) - ,(typename unforward::type)(a11) - ,(typename unforward::type)(a12) - ,(typename unforward::type)(a13) - ,(typename unforward::type)(a14))) -{ - -} -#endif // POINTER_HOLDER_DWA2002411_HPP diff --git a/include/boost/python/preprocessed/ptr_holder_back_reference.hpp b/include/boost/python/preprocessed/ptr_holder_back_reference.hpp deleted file mode 100644 index 78247790..00000000 --- a/include/boost/python/preprocessed/ptr_holder_back_reference.hpp +++ /dev/null @@ -1,261 +0,0 @@ -//Copyright David Abrahams 2002.Permission to copy,use, -//modify,sell and distribute this software is granted provided this -//copyright notice appears in all copies.This software is provided -//"as is" without express or implied warranty,and with no claim as -//to its suitability for any purpose. -#ifndef POINTER_HOLDER_BACK_REFERENCE_DWA2002411_HPP -#define POINTER_HOLDER_BACK_REFERENCE_DWA2002411_HPP - -// emacs commands used to pre-clean preprocessor output: -// (replace-regexp ": *m_p *(" "\n: m_p(") -// (replace-regexp "held_type(" "held_type(\n") -// (replace-regexp ", *(" "\n, (") - -pointer_holder_back_reference(PyObject*p) - :m_p(new held_type( - p)) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -pointer_holder_back_reference(PyObject*p,A0 a0) - :m_p(new held_type( - p - ,(typename unforward::type)(a0))) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -pointer_holder_back_reference(PyObject*p,A0 a0,A1 a1) - :m_p(new held_type( - p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1))) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -pointer_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2) - :m_p(new held_type( - p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2))) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -pointer_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3) - :m_p(new held_type( - p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3))) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -pointer_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4) - :m_p(new held_type( - p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4))) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -pointer_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5) - :m_p(new held_type( - p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5))) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -pointer_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6) - :m_p(new held_type( - p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6))) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -pointer_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7) - :m_p(new held_type( - p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7))) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -pointer_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8) - :m_p(new held_type( - p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8))) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -pointer_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9) - :m_p(new held_type( - p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9))) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -pointer_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9,A10 a10) - :m_p(new held_type( - p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9) - ,(typename unforward::type)(a10))) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -pointer_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9,A10 a10,A11 a11) - :m_p(new held_type( - p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9) - ,(typename unforward::type)(a10) - ,(typename unforward::type)(a11))) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -pointer_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9,A10 a10,A11 a11,A12 a12) - :m_p(new held_type( - p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9) - ,(typename unforward::type)(a10) - ,(typename unforward::type)(a11) - ,(typename unforward::type)(a12))) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -pointer_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9,A10 a10,A11 a11,A12 a12,A13 a13) - :m_p(new held_type( - p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9) - ,(typename unforward::type)(a10) - ,(typename unforward::type)(a11) - ,(typename unforward::type)(a12) - ,(typename unforward::type)(a13))) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -pointer_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9,A10 a10,A11 a11,A12 a12,A13 a13,A14 a14) - :m_p(new held_type( - p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9) - ,(typename unforward::type)(a10) - ,(typename unforward::type)(a11) - ,(typename unforward::type)(a12) - ,(typename unforward::type)(a13) - ,(typename unforward::type)(a14))) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -#endif//POINTER_HOLDER_BACK_REFERENCE_DWA2002411_HPP diff --git a/include/boost/python/preprocessed/result.hpp b/include/boost/python/preprocessed/result.hpp deleted file mode 100755 index 10180c99..00000000 --- a/include/boost/python/preprocessed/result.hpp +++ /dev/null @@ -1,412 +0,0 @@ -// Copyright David Abrahams 2002. Permission to copy, use, -// modify, sell and distribute this software is granted provided this -// copyright notice appears in all copies. This software is provided -// "as is" without express or implied warranty, and with no claim as -// to its suitability for any purpose. -#ifndef RESULT2_DWA2002521_HPP -# define RESULT2_DWA2002521_HPP - -template -boost::type*result(R(*)(),int=0) -{ - return 0; -} -template -boost::type*result(R(*)(A0),int=0) -{ - return 0; -} -template -boost::type*result(R(*)(A0,A1),int=0) -{ - return 0; -} -template -boost::type*result(R(*)(A0,A1,A2),int=0) -{ - return 0; -} -template -boost::type*result(R(*)(A0,A1,A2,A3),int=0) -{ - return 0; -} -template -boost::type*result(R(*)(A0,A1,A2,A3,A4),int=0) -{ - return 0; -} -template -boost::type*result(R(*)(A0,A1,A2,A3,A4,A5),int=0) -{ - return 0; -} -template -boost::type*result(R(*)(A0,A1,A2,A3,A4,A5,A6),int=0) -{ - return 0; -} -template -boost::type*result(R(*)(A0,A1,A2,A3,A4,A5,A6,A7),int=0) -{ - return 0; -} -template -boost::type*result(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8),int=0) -{ - return 0; -} -template -boost::type*result(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9),int=0) -{ - return 0; -} -template -boost::type*result(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10),int=0) -{ - return 0; -} -template -boost::type*result(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11),int=0) -{ - return 0; -} -template -boost::type*result(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12),int=0) -{ - return 0; -} -template -boost::type*result(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13),int=0) -{ - return 0; -} -template -boost::type*result(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14),int=0) -{ - return 0; -} - -template -boost::type*result(R(A0::*)(),int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1),int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2),int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3),int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4),int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5),int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6),int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7),int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8),int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9),int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10),int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11),int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12),int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13),int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14),int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15),int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)()const,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1)const,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2)const,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3)const,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4)const,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5)const,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6)const,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7)const,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8)const,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9)const,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)const,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)const,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)const,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)const,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)const,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)const,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)()volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1)volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2)volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3)volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4)volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5)volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6)volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7)volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8)volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9)volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)()const volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1)const volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2)const volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3)const volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4)const volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5)const volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6)const volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7)const volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8)const volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9)const volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)const volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)const volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)const volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)const volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)const volatile,int=0) -{ - return 0; -} -template -boost::type*result(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)const volatile,int=0) -{ - return 0; -} - - -#endif // RESULT2_DWA2002521_HPP diff --git a/include/boost/python/preprocessed/returning_non_void.hpp b/include/boost/python/preprocessed/returning_non_void.hpp deleted file mode 100644 index ebf35cdd..00000000 --- a/include/boost/python/preprocessed/returning_non_void.hpp +++ /dev/null @@ -1,2805 +0,0 @@ -//Copyright David Abrahams 2002.Permission to copy,use, -//modify,sell and distribute this software is granted provided this -//copyright notice appears in all copies.This software is provided -//"as is" without express or implied warranty,and with no claim as -//to its suitability for any purpose. -#ifndef RETURNING_NON_VOID_DWA2002410_HPP -#define RETURNING_NON_VOID_DWA2002410_HPP - -// emacs commands used to pre-clean preprocessor output: -// (replace-regexp ", *\\(c[0-9]\\)" "\n, \\1") -// (replace-regexp "( *\\(c[0-9]\\)" "(\n\\1") - -template -static PyObject*call(R(A0::*pmf)(),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)()); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)) - , c12(PyTuple_GET_ITEM(args_,12)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)) - , c12(PyTuple_GET_ITEM(args_,12)) - , c13(PyTuple_GET_ITEM(args_,13)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - arg_from_pythonc14(PyTuple_GET_ITEM(args_,14)); - if(!c14.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)) - , c12(PyTuple_GET_ITEM(args_,12)) - , c13(PyTuple_GET_ITEM(args_,13)) - , c14(PyTuple_GET_ITEM(args_,14)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - arg_from_pythonc14(PyTuple_GET_ITEM(args_,14)); - if(!c14.convertible())return 0; - arg_from_pythonc15(PyTuple_GET_ITEM(args_,15)); - if(!c15.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)) - , c12(PyTuple_GET_ITEM(args_,12)) - , c13(PyTuple_GET_ITEM(args_,13)) - , c14(PyTuple_GET_ITEM(args_,14)) - , c15(PyTuple_GET_ITEM(args_,15)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)()const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)()); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)) - , c12(PyTuple_GET_ITEM(args_,12)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)) - , c12(PyTuple_GET_ITEM(args_,12)) - , c13(PyTuple_GET_ITEM(args_,13)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - arg_from_pythonc14(PyTuple_GET_ITEM(args_,14)); - if(!c14.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)) - , c12(PyTuple_GET_ITEM(args_,12)) - , c13(PyTuple_GET_ITEM(args_,13)) - , c14(PyTuple_GET_ITEM(args_,14)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - arg_from_pythonc14(PyTuple_GET_ITEM(args_,14)); - if(!c14.convertible())return 0; - arg_from_pythonc15(PyTuple_GET_ITEM(args_,15)); - if(!c15.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)) - , c12(PyTuple_GET_ITEM(args_,12)) - , c13(PyTuple_GET_ITEM(args_,13)) - , c14(PyTuple_GET_ITEM(args_,14)) - , c15(PyTuple_GET_ITEM(args_,15)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)()volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)()); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)) - , c12(PyTuple_GET_ITEM(args_,12)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)) - , c12(PyTuple_GET_ITEM(args_,12)) - , c13(PyTuple_GET_ITEM(args_,13)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - arg_from_pythonc14(PyTuple_GET_ITEM(args_,14)); - if(!c14.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)) - , c12(PyTuple_GET_ITEM(args_,12)) - , c13(PyTuple_GET_ITEM(args_,13)) - , c14(PyTuple_GET_ITEM(args_,14)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - arg_from_pythonc14(PyTuple_GET_ITEM(args_,14)); - if(!c14.convertible())return 0; - arg_from_pythonc15(PyTuple_GET_ITEM(args_,15)); - if(!c15.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)) - , c12(PyTuple_GET_ITEM(args_,12)) - , c13(PyTuple_GET_ITEM(args_,13)) - , c14(PyTuple_GET_ITEM(args_,14)) - , c15(PyTuple_GET_ITEM(args_,15)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)()const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)()); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)) - , c12(PyTuple_GET_ITEM(args_,12)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)) - , c12(PyTuple_GET_ITEM(args_,12)) - , c13(PyTuple_GET_ITEM(args_,13)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - arg_from_pythonc14(PyTuple_GET_ITEM(args_,14)); - if(!c14.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)) - , c12(PyTuple_GET_ITEM(args_,12)) - , c13(PyTuple_GET_ITEM(args_,13)) - , c14(PyTuple_GET_ITEM(args_,14)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - arg_from_pythonc14(PyTuple_GET_ITEM(args_,14)); - if(!c14.convertible())return 0; - arg_from_pythonc15(PyTuple_GET_ITEM(args_,15)); - if(!c15.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)) - , c12(PyTuple_GET_ITEM(args_,12)) - , c13(PyTuple_GET_ITEM(args_,13)) - , c14(PyTuple_GET_ITEM(args_,14)) - , c15(PyTuple_GET_ITEM(args_,15)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(*pf)(),PyObject*args_,PyObject*,P const*policies) -{ - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((*pf)()); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(*pf)(A0),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((*pf)( - c0(PyTuple_GET_ITEM(args_,0)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(*pf)(A0,A1),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - , c1(PyTuple_GET_ITEM(args_,1)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(*pf)(A0,A1,A2),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - , c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - , c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - , c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4,A5),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - , c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4,A5,A6),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - , c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4,A5,A6,A7),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - , c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4,A5,A6,A7,A8),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - , c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - , c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - , c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - , c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - , c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)) - , c12(PyTuple_GET_ITEM(args_,12)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - , c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)) - , c12(PyTuple_GET_ITEM(args_,12)) - , c13(PyTuple_GET_ITEM(args_,13)))); - return policies->postcall(args_,result); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - arg_from_pythonc14(PyTuple_GET_ITEM(args_,14)); - if(!c14.convertible())return 0; - typedef typename P::result_converter result_converter; - typename mpl::apply1::type cr; - if(!cr.convertible())return 0; - if(!policies->precall(args_))return 0; - PyObject*result=cr((*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - , c1(PyTuple_GET_ITEM(args_,1)) - , c2(PyTuple_GET_ITEM(args_,2)) - , c3(PyTuple_GET_ITEM(args_,3)) - , c4(PyTuple_GET_ITEM(args_,4)) - , c5(PyTuple_GET_ITEM(args_,5)) - , c6(PyTuple_GET_ITEM(args_,6)) - , c7(PyTuple_GET_ITEM(args_,7)) - , c8(PyTuple_GET_ITEM(args_,8)) - , c9(PyTuple_GET_ITEM(args_,9)) - , c10(PyTuple_GET_ITEM(args_,10)) - , c11(PyTuple_GET_ITEM(args_,11)) - , c12(PyTuple_GET_ITEM(args_,12)) - , c13(PyTuple_GET_ITEM(args_,13)) - , c14(PyTuple_GET_ITEM(args_,14)))); - return policies->postcall(args_,result); -} -#endif // RETURNING_NON_VOID_DWA2002410_HPP diff --git a/include/boost/python/preprocessed/returning_void.hpp b/include/boost/python/preprocessed/returning_void.hpp deleted file mode 100644 index 63f643f7..00000000 --- a/include/boost/python/preprocessed/returning_void.hpp +++ /dev/null @@ -1,2565 +0,0 @@ -//Copyright David Abrahams 2002.Permission to copy,use, -//modify,sell and distribute this software is granted provided this -//copyright notice appears in all copies.This software is provided -//"as is" without express or implied warranty,and with no claim as -//to its suitability for any purpose. -#ifndef RETURNING_VOID_DWA2002410_HPP -# define RETURNING_VOID_DWA2002410_HPP - -// emacs commands used to pre-clean preprocessor output: -// (replace-regexp ", *\\(c[0-9]\\)" "\n, \\1") -// (replace-regexp "( *\\(c[0-9]\\)" "(\n\\1") - -template -static PyObject*call(R(A0::*pmf)(),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)(); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11)) - ,c12(PyTuple_GET_ITEM(args_,12))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11)) - ,c12(PyTuple_GET_ITEM(args_,12)) - ,c13(PyTuple_GET_ITEM(args_,13))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - arg_from_pythonc14(PyTuple_GET_ITEM(args_,14)); - if(!c14.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11)) - ,c12(PyTuple_GET_ITEM(args_,12)) - ,c13(PyTuple_GET_ITEM(args_,13)) - ,c14(PyTuple_GET_ITEM(args_,14))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - arg_from_pythonc14(PyTuple_GET_ITEM(args_,14)); - if(!c14.convertible())return 0; - arg_from_pythonc15(PyTuple_GET_ITEM(args_,15)); - if(!c15.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11)) - ,c12(PyTuple_GET_ITEM(args_,12)) - ,c13(PyTuple_GET_ITEM(args_,13)) - ,c14(PyTuple_GET_ITEM(args_,14)) - ,c15(PyTuple_GET_ITEM(args_,15))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)()const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)(); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11)) - ,c12(PyTuple_GET_ITEM(args_,12))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11)) - ,c12(PyTuple_GET_ITEM(args_,12)) - ,c13(PyTuple_GET_ITEM(args_,13))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - arg_from_pythonc14(PyTuple_GET_ITEM(args_,14)); - if(!c14.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11)) - ,c12(PyTuple_GET_ITEM(args_,12)) - ,c13(PyTuple_GET_ITEM(args_,13)) - ,c14(PyTuple_GET_ITEM(args_,14))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)const,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - arg_from_pythonc14(PyTuple_GET_ITEM(args_,14)); - if(!c14.convertible())return 0; - arg_from_pythonc15(PyTuple_GET_ITEM(args_,15)); - if(!c15.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11)) - ,c12(PyTuple_GET_ITEM(args_,12)) - ,c13(PyTuple_GET_ITEM(args_,13)) - ,c14(PyTuple_GET_ITEM(args_,14)) - ,c15(PyTuple_GET_ITEM(args_,15))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)()volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)(); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11)) - ,c12(PyTuple_GET_ITEM(args_,12))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11)) - ,c12(PyTuple_GET_ITEM(args_,12)) - ,c13(PyTuple_GET_ITEM(args_,13))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - arg_from_pythonc14(PyTuple_GET_ITEM(args_,14)); - if(!c14.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11)) - ,c12(PyTuple_GET_ITEM(args_,12)) - ,c13(PyTuple_GET_ITEM(args_,13)) - ,c14(PyTuple_GET_ITEM(args_,14))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - arg_from_pythonc14(PyTuple_GET_ITEM(args_,14)); - if(!c14.convertible())return 0; - arg_from_pythonc15(PyTuple_GET_ITEM(args_,15)); - if(!c15.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11)) - ,c12(PyTuple_GET_ITEM(args_,12)) - ,c13(PyTuple_GET_ITEM(args_,13)) - ,c14(PyTuple_GET_ITEM(args_,14)) - ,c15(PyTuple_GET_ITEM(args_,15))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)()const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)(); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11)) - ,c12(PyTuple_GET_ITEM(args_,12))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11)) - ,c12(PyTuple_GET_ITEM(args_,12)) - ,c13(PyTuple_GET_ITEM(args_,13))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - arg_from_pythonc14(PyTuple_GET_ITEM(args_,14)); - if(!c14.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11)) - ,c12(PyTuple_GET_ITEM(args_,12)) - ,c13(PyTuple_GET_ITEM(args_,13)) - ,c14(PyTuple_GET_ITEM(args_,14))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(A0::*pmf)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)const volatile,PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - arg_from_pythonc14(PyTuple_GET_ITEM(args_,14)); - if(!c14.convertible())return 0; - arg_from_pythonc15(PyTuple_GET_ITEM(args_,15)); - if(!c15.convertible())return 0; - if(!policies->precall(args_))return 0; - (( - c0(PyTuple_GET_ITEM(args_,0))).*pmf)( - c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11)) - ,c12(PyTuple_GET_ITEM(args_,12)) - ,c13(PyTuple_GET_ITEM(args_,13)) - ,c14(PyTuple_GET_ITEM(args_,14)) - ,c15(PyTuple_GET_ITEM(args_,15))); - return policies->postcall(args_,detail::none()); -} - -template -static PyObject*call(R(*pf)(),PyObject*args_,PyObject*,P const*policies) -{ - (*pf)(); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(*pf)(A0),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - if(!policies->precall(args_))return 0; - (*pf)( - c0(PyTuple_GET_ITEM(args_,0))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(*pf)(A0,A1),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - if(!policies->precall(args_))return 0; - (*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - ,c1(PyTuple_GET_ITEM(args_,1))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(*pf)(A0,A1,A2),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - if(!policies->precall(args_))return 0; - (*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - ,c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - if(!policies->precall(args_))return 0; - (*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - ,c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - if(!policies->precall(args_))return 0; - (*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - ,c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4,A5),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - if(!policies->precall(args_))return 0; - (*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - ,c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4,A5,A6),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - if(!policies->precall(args_))return 0; - (*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - ,c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4,A5,A6,A7),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - if(!policies->precall(args_))return 0; - (*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - ,c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4,A5,A6,A7,A8),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - if(!policies->precall(args_))return 0; - (*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - ,c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - if(!policies->precall(args_))return 0; - (*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - ,c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - if(!policies->precall(args_))return 0; - (*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - ,c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - if(!policies->precall(args_))return 0; - (*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - ,c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - if(!policies->precall(args_))return 0; - (*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - ,c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11)) - ,c12(PyTuple_GET_ITEM(args_,12))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - if(!policies->precall(args_))return 0; - (*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - ,c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11)) - ,c12(PyTuple_GET_ITEM(args_,12)) - ,c13(PyTuple_GET_ITEM(args_,13))); - return policies->postcall(args_,detail::none()); -} -template -static PyObject*call(R(*pf)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14),PyObject*args_,PyObject*,P const*policies) -{ - arg_from_pythonc0(PyTuple_GET_ITEM(args_,0)); - if(!c0.convertible())return 0; - arg_from_pythonc1(PyTuple_GET_ITEM(args_,1)); - if(!c1.convertible())return 0; - arg_from_pythonc2(PyTuple_GET_ITEM(args_,2)); - if(!c2.convertible())return 0; - arg_from_pythonc3(PyTuple_GET_ITEM(args_,3)); - if(!c3.convertible())return 0; - arg_from_pythonc4(PyTuple_GET_ITEM(args_,4)); - if(!c4.convertible())return 0; - arg_from_pythonc5(PyTuple_GET_ITEM(args_,5)); - if(!c5.convertible())return 0; - arg_from_pythonc6(PyTuple_GET_ITEM(args_,6)); - if(!c6.convertible())return 0; - arg_from_pythonc7(PyTuple_GET_ITEM(args_,7)); - if(!c7.convertible())return 0; - arg_from_pythonc8(PyTuple_GET_ITEM(args_,8)); - if(!c8.convertible())return 0; - arg_from_pythonc9(PyTuple_GET_ITEM(args_,9)); - if(!c9.convertible())return 0; - arg_from_pythonc10(PyTuple_GET_ITEM(args_,10)); - if(!c10.convertible())return 0; - arg_from_pythonc11(PyTuple_GET_ITEM(args_,11)); - if(!c11.convertible())return 0; - arg_from_pythonc12(PyTuple_GET_ITEM(args_,12)); - if(!c12.convertible())return 0; - arg_from_pythonc13(PyTuple_GET_ITEM(args_,13)); - if(!c13.convertible())return 0; - arg_from_pythonc14(PyTuple_GET_ITEM(args_,14)); - if(!c14.convertible())return 0; - if(!policies->precall(args_))return 0; - (*pf)( - c0(PyTuple_GET_ITEM(args_,0)) - ,c1(PyTuple_GET_ITEM(args_,1)) - ,c2(PyTuple_GET_ITEM(args_,2)) - ,c3(PyTuple_GET_ITEM(args_,3)) - ,c4(PyTuple_GET_ITEM(args_,4)) - ,c5(PyTuple_GET_ITEM(args_,5)) - ,c6(PyTuple_GET_ITEM(args_,6)) - ,c7(PyTuple_GET_ITEM(args_,7)) - ,c8(PyTuple_GET_ITEM(args_,8)) - ,c9(PyTuple_GET_ITEM(args_,9)) - ,c10(PyTuple_GET_ITEM(args_,10)) - ,c11(PyTuple_GET_ITEM(args_,11)) - ,c12(PyTuple_GET_ITEM(args_,12)) - ,c13(PyTuple_GET_ITEM(args_,13)) - ,c14(PyTuple_GET_ITEM(args_,14))); - return policies->postcall(args_,detail::none()); -} -#endif // RETURNING_VOID_DWA2002410_HPP diff --git a/include/boost/python/preprocessed/target.hpp b/include/boost/python/preprocessed/target.hpp deleted file mode 100755 index f2a23cee..00000000 --- a/include/boost/python/preprocessed/target.hpp +++ /dev/null @@ -1,402 +0,0 @@ -template -boost::type*target(R(*)()) -{ - return 0; -} -template -boost::type*target(R(*)(A0)) -{ - return 0; -} -template -boost::type*target(R(*)(A0,A1)) -{ - return 0; -} -template -boost::type*target(R(*)(A0,A1,A2)) -{ - return 0; -} -template -boost::type*target(R(*)(A0,A1,A2,A3)) -{ - return 0; -} -template -boost::type*target(R(*)(A0,A1,A2,A3,A4)) -{ - return 0; -} -template -boost::type*target(R(*)(A0,A1,A2,A3,A4,A5)) -{ - return 0; -} -template -boost::type*target(R(*)(A0,A1,A2,A3,A4,A5,A6)) -{ - return 0; -} -template -boost::type*target(R(*)(A0,A1,A2,A3,A4,A5,A6,A7)) -{ - return 0; -} -template -boost::type*target(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8)) -{ - return 0; -} -template -boost::type*target(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9)) -{ - return 0; -} -template -boost::type*target(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)) -{ - return 0; -} -template -boost::type*target(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)) -{ - return 0; -} -template -boost::type*target(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)) -{ - return 0; -} -template -boost::type*target(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)) -{ - return 0; -} -template -boost::type*target(R(*)(A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)) -{ - return 0; -} - -template -boost::type*target(R(A0::*)()) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1)) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2)) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3)) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4)) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5)) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6)) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7)) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8)) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9)) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)) -{ - return 0; -} -template -boost::type*target(R(A0::*)()const) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1)const) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2)const) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3)const) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4)const) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5)const) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6)const) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7)const) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8)const) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9)const) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)const) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)const) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)const) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)const) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)const) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)const) -{ - return 0; -} -template -boost::type*target(R(A0::*)()volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1)volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2)volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3)volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4)volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5)volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6)volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7)volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8)volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9)volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)()const volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1)const volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2)const volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3)const volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4)const volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5)const volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6)const volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7)const volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8)const volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9)const volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10)const volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11)const volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12)const volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13)const volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14)const volatile) -{ - return 0; -} -template -boost::type*target(R(A0::*)(A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15)const volatile) -{ - return 0; -} - diff --git a/include/boost/python/preprocessed/value_holder.hpp b/include/boost/python/preprocessed/value_holder.hpp deleted file mode 100644 index 20437d8b..00000000 --- a/include/boost/python/preprocessed/value_holder.hpp +++ /dev/null @@ -1,228 +0,0 @@ -// Copyright David Abrahams 2002. Permission to copy, use, -// modify, sell and distribute this software is granted provided this -// copyright notice appears in all copies. This software is provided -// "as is" without express or implied warranty, and with no claim as -// to its suitability for any purpose. -#ifndef VALUE_HOLDER_DWA2002411_HPP -# define VALUE_HOLDER_DWA2002411_HPP - -// emacs commands used to pre-clean preprocessor output: -// (replace-regexp ": *m_held *(" "\n: m_held(") -// (replace-regexp ", *(" "\n, (") - -value_holder(PyObject*) - :m_held() -{ - -} -template -value_holder(PyObject*,A0 a0) - :m_held( - (typename unforward::type)(a0)) -{ - -} -template -value_holder(PyObject*,A0 a0,A1 a1) - :m_held( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1)) -{ - -} -template -value_holder(PyObject*,A0 a0,A1 a1,A2 a2) - :m_held( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2)) -{ - -} -template -value_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3) - :m_held( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3)) -{ - -} -template -value_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4) - :m_held( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4)) -{ - -} -template -value_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5) - :m_held( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5)) -{ - -} -template -value_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6) - :m_held( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6)) -{ - -} -template -value_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7) - :m_held( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7)) -{ - -} -template -value_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8) - :m_held( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8)) -{ - -} -template -value_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9) - :m_held( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9)) -{ - -} -template -value_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9,A10 a10) - :m_held( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9) - ,(typename unforward::type)(a10)) -{ - -} -template -value_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9,A10 a10,A11 a11) - :m_held( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9) - ,(typename unforward::type)(a10) - ,(typename unforward::type)(a11)) -{ - -} -template -value_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9,A10 a10,A11 a11,A12 a12) - :m_held( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9) - ,(typename unforward::type)(a10) - ,(typename unforward::type)(a11) - ,(typename unforward::type)(a12)) -{ - -} -template -value_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9,A10 a10,A11 a11,A12 a12,A13 a13) - :m_held( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9) - ,(typename unforward::type)(a10) - ,(typename unforward::type)(a11) - ,(typename unforward::type)(a12) - ,(typename unforward::type)(a13)) -{ - -} -template -value_holder(PyObject*,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9,A10 a10,A11 a11,A12 a12,A13 a13,A14 a14) - :m_held( - (typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9) - ,(typename unforward::type)(a10) - ,(typename unforward::type)(a11) - ,(typename unforward::type)(a12) - ,(typename unforward::type)(a13) - ,(typename unforward::type)(a14)) -{ - -} -#endif // VALUE_HOLDER_DWA2002411_HPP diff --git a/include/boost/python/preprocessed/value_holder_back_reference.hpp b/include/boost/python/preprocessed/value_holder_back_reference.hpp deleted file mode 100644 index c5b06020..00000000 --- a/include/boost/python/preprocessed/value_holder_back_reference.hpp +++ /dev/null @@ -1,245 +0,0 @@ -// Copyright David Abrahams 2002. Permission to copy, use, -// modify, sell and distribute this software is granted provided this -// copyright notice appears in all copies. This software is provided -// "as is" without express or implied warranty, and with no claim as -// to its suitability for any purpose. -#ifndef VALUE_HOLDER_BACK_REFERENCE_DWA2002411_HPP -# define VALUE_HOLDER_BACK_REFERENCE_DWA2002411_HPP - -// emacs commands used to pre-clean preprocessor output: -// (replace-regexp ": *m_held *(" "\n: m_held(") -// (replace-regexp ", *(" "\n, (") - -value_holder_back_reference(PyObject*p) - :m_held(p) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -value_holder_back_reference(PyObject*p,A0 a0) - :m_held(p - ,(typename unforward::type)(a0)) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -value_holder_back_reference(PyObject*p,A0 a0,A1 a1) - :m_held(p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1)) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -value_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2) - :m_held(p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2)) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -value_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3) - :m_held(p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3)) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -value_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4) - :m_held(p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4)) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -value_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5) - :m_held(p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5)) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -value_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6) - :m_held(p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6)) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -value_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7) - :m_held(p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7)) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -value_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8) - :m_held(p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8)) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -value_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9) - :m_held(p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9)) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -value_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9,A10 a10) - :m_held(p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9) - ,(typename unforward::type)(a10)) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -value_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9,A10 a10,A11 a11) - :m_held(p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9) - ,(typename unforward::type)(a10) - ,(typename unforward::type)(a11)) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -value_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9,A10 a10,A11 a11,A12 a12) - :m_held(p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9) - ,(typename unforward::type)(a10) - ,(typename unforward::type)(a11) - ,(typename unforward::type)(a12)) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -value_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9,A10 a10,A11 a11,A12 a12,A13 a13) - :m_held(p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9) - ,(typename unforward::type)(a10) - ,(typename unforward::type)(a11) - ,(typename unforward::type)(a12) - ,(typename unforward::type)(a13)) -{ - python::detail::force_instantiate( - instance_finder::registration); -} -template -value_holder_back_reference(PyObject*p,A0 a0,A1 a1,A2 a2,A3 a3,A4 a4,A5 a5,A6 a6,A7 a7,A8 a8,A9 a9,A10 a10,A11 a11,A12 a12,A13 a13,A14 a14) - :m_held(p - ,(typename unforward::type)(a0) - ,(typename unforward::type)(a1) - ,(typename unforward::type)(a2) - ,(typename unforward::type)(a3) - ,(typename unforward::type)(a4) - ,(typename unforward::type)(a5) - ,(typename unforward::type)(a6) - ,(typename unforward::type)(a7) - ,(typename unforward::type)(a8) - ,(typename unforward::type)(a9) - ,(typename unforward::type)(a10) - ,(typename unforward::type)(a11) - ,(typename unforward::type)(a12) - ,(typename unforward::type)(a13) - ,(typename unforward::type)(a14)) -{ - python::detail::force_instantiate( - instance_finder::registration); -} - -#endif // VALUE_HOLDER_BACK_REFERENCE_DWA2002411_HPP