[pygccxml-commit] source/pyplusplus/experimental filters.py,1.5,1.6
Brought to you by:
mbaas,
roman_yakovenko
From: Matthias B. <mb...@us...> - 2006-04-06 09:24:00
|
Update of /cvsroot/pygccxml/source/pyplusplus/experimental In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20497 Modified Files: filters.py Log Message: Compare the rreturn type to the result of __str__ instead of decl_string Index: filters.py =================================================================== RCS file: /cvsroot/pygccxml/source/pyplusplus/experimental/filters.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** filters.py 16 Mar 2006 14:49:29 -0000 1.5 --- filters.py 6 Apr 2006 09:23:56 -0000 1.6 *************** *** 292,296 **** if rettype==None: return False ! return self.matcher.match(rettype.decl_string) # ArgsFilter --- 292,296 ---- if rettype==None: return False ! return self.matcher.match(str(rettype)) # ArgsFilter *************** *** 314,318 **** return False for arg,argument in zip(args, declargs): ! if arg!=argument.type.decl_string: return False return True --- 314,318 ---- return False for arg,argument in zip(args, declargs): ! if arg!=str(argument.type): return False return True |