Last night I investigated why py++ wasn't exporting some methods for
me, and I came across the following code, which I promptly commented
out:
pyplusplus_dev/pyplusplus/decl_wrappers/calldef_wrapper.py:100ish
def _exportable_impl( self ):
#see http://www.boost.org/libs/python/doc/v2/faq.html#funcptr
#if len( self.arguments ) > 10:
#return "boost.python can not expose function with more
then 10 arguments. ( impl details: boost.tuple is limited to 10 args
)."
If you define BOOST_PYTHON_MAX_ARITY=19 or some such, it allows you to
up the maximum number of arguments that Boost.Python can handle.
Indeed, I was able to export and use the method.
Lakin
|