Revision: 1038
http://svn.sourceforge.net/pygccxml/?rev=1038&view=rev
Author: roman_yakovenko
Date: 2007-05-24 02:57:22 -0700 (Thu, 24 May 2007)
Log Message:
-----------
fixing infinite recursion bug
Modified Paths:
--------------
pyplusplus_dev/pyplusplus/decl_wrappers/algorithm.py
Modified: pyplusplus_dev/pyplusplus/decl_wrappers/algorithm.py
===================================================================
--- pyplusplus_dev/pyplusplus/decl_wrappers/algorithm.py 2007-05-20 09:19:30 UTC (rev 1037)
+++ pyplusplus_dev/pyplusplus/decl_wrappers/algorithm.py 2007-05-24 09:57:22 UTC (rev 1038)
@@ -129,18 +129,22 @@
else:
pass
return None
-
+
@staticmethod
def select_problematics( calldef ):
"""Return list of problematic functions for function "calldef" """
if 1 != len( calldef.required_args ):
return []
+ arg_type = calldef.arguments[0].type
+ if declarations.is_pointer( arg_type ) \
+ and isinstance( arg_type.base, declarations.calldef_type_t ):
+ return []
problematics = []
for f in calldef.overloads:
if 1 != len( f.required_args ):
continue
+ if f.ignore:
+ continue
if None != registration_order.is_related( calldef.arguments[0].type, f.arguments[0].type ):
problematics.append( f )
return problematics
-
-
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|