Revision: 292
Author: mbaas
Date: 2006-07-11 01:23:53 -0700 (Tue, 11 Jul 2006)
ViewCVS: http://svn.sourceforge.net/pygccxml/?rev=292&view=rev
Log Message:
-----------
Fixed a typo and 'unified' the newlines (there were a few DOS newlines in the file even though I've checked it out under Linux).
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 07:24:56 UTC (rev 291)
+++ pyplusplus_dev/pyplusplus/decl_wrappers/calldef_wrapper.py 2006-07-11 08:23:53 UTC (rev 292)
@@ -13,10 +13,10 @@
##return False
##return self.declaration.virtuality != declarations.VIRTUALITY_TYPES.PURE_VIRTUAL
-class calldef_t(decl_wrapper.decl_wrapper_t):
-
- BOOST_PYTHON_MAX_ARITY = 10
+class calldef_t(decl_wrapper.decl_wrapper_t):
+ BOOST_PYTHON_MAX_ARITY = 10
+
def __init__(self, *arguments, **keywords):
decl_wrapper.decl_wrapper_t.__init__( self, *arguments, **keywords )
@@ -96,12 +96,12 @@
def _exportable_impl_derived( self ):
return ''
- def _exportable_impl( self ):
+ def _exportable_impl( self ):
#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' with more then 10 arguments( %d ). "
- msg = msg + " You should adjest BOOST_PYTHON_MAX_ARITY"
+ msg = "Function '%s' has more then 10 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 ) ) )
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|