Revision: 294
Author: mbaas
Date: 2006-07-11 01:45:33 -0700 (Tue, 11 Jul 2006)
ViewCVS: http://svn.sourceforge.net/pygccxml/?rev=294&view=rev
Log Message:
-----------
The warning message was still using the hardcoded number (10) instead of the variable.
Modified Paths:
--------------
pyplusplus_dev/pyplusplus/decl_wrappers/calldef_wrapper.py
Modified: pyplusplus_dev/pyplusplus/decl_wrappers/calldef_wrapper.py
===================================================================
--- pyplusplus_dev/pyplusplus/decl_wrappers/calldef_wrapper.py 2006-07-11 08:26:11 UTC (rev 293)
+++ pyplusplus_dev/pyplusplus/decl_wrappers/calldef_wrapper.py 2006-07-11 08:45:33 UTC (rev 294)
@@ -100,10 +100,10 @@
#TODO: functions that takes as argument pointer to pointer to smth, could not be exported
#see http://www.boost.org/libs/python/doc/v2/faq.html#funcptr
if len( self.arguments ) > calldef_t.BOOST_PYTHON_MAX_ARITY:
- msg = "Function '%s' has more than 10 arguments ( %d ). "
+ msg = "Function '%s' has more than %d arguments ( %d ). "
msg = msg + " You should adjust BOOST_PYTHON_MAX_ARITY."
msg = msg + " For more information see: http://mail.python.org/pipermail/c++-sig/2002-June/001554.html"
- self.logger.info( msg % ( self.decl_string, len( self.arguments ) ) )
+ self.logger.info( msg % ( self.decl_string, calldef_t.BOOST_PYTHON_MAX_ARITY, len( self.arguments ) ) )
all_types = [ arg.type for arg in self.arguments ]
all_types.append( self.return_type )
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|