Revision: 240
Author: roman_yakovenko
Date: 2006-06-20 06:34:35 -0700 (Tue, 20 Jun 2006)
ViewCVS: http://svn.sourceforge.net/pygccxml/?rev=240&view=rev
Log Message:
-----------
adding function name to the message
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-06-20 13:33:45 UTC (rev 239)
+++ pyplusplus_dev/pyplusplus/decl_wrappers/calldef_wrapper.py 2006-06-20 13:34:35 UTC (rev 240)
@@ -100,10 +100,10 @@
def _exportable_impl( self ):
#see http://www.boost.org/libs/python/doc/v2/faq.html#funcptr
if len( self.arguments ) > calldef_t.BOOST_PYTHON_MAX_ARITY:
- msg = "You have function with more then 10 arguments( %d ). "
+ msg = "Function '%s' with more then 10 arguments( %d ). "
msg = msg + " You should adjest BOOST_PYTHON_MAX_ARITY"
msg = msg + " For more information see: http://mail.python.org/pipermail/c++-sig/2002-June/001554.html"
- _logging_.logger.info( msg % len( self.arguments ) )
+ _logging_.logger.info( msg % ( self.decl_string, 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.
|