mirror of
https://github.com/boostorg/python.git
synced 2026-01-24 18:12:43 +00:00
fixed case where function has all default arguments, also added a test in defaults.cpp
[SVN r15165]
This commit is contained in:
@@ -199,7 +199,7 @@ struct define_stub_function {};
|
||||
>::type stubs_type;
|
||||
|
||||
BOOST_STATIC_ASSERT(
|
||||
(stubs_type::max_args + 1) <=
|
||||
(stubs_type::max_args) <=
|
||||
boost::python::detail::type_list_size<SigT>::value);
|
||||
|
||||
typedef typename stubs_type::template gen<SigT> gen_type;
|
||||
|
||||
Reference in New Issue
Block a user