Revision: 1040
http://svn.sourceforge.net/pygccxml/?rev=1040&view=rev
Author: roman_yakovenko
Date: 2007-05-27 02:20:13 -0700 (Sun, 27 May 2007)
Log Message:
-----------
starting to use new type traits: is_calldef_pointer
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-27 09:18:09 UTC (rev 1039)
+++ pyplusplus_dev/pyplusplus/decl_wrappers/algorithm.py 2007-05-27 09:20:13 UTC (rev 1040)
@@ -136,8 +136,7 @@
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 ):
+ if declarations.is_calldef_pointer( arg_type ):
return []
problematics = []
for f in calldef.overloads:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|