[ctypes-commit] ctypes/sandbox/tools/codegen gccxmlparser.py,1.6,1.7
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2004-12-07 08:25:36
|
Update of /cvsroot/ctypes/ctypes/sandbox/tools/codegen In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1382 Modified Files: gccxmlparser.py Log Message: Add attributes to FunctionType. Index: gccxmlparser.py =================================================================== RCS file: /cvsroot/ctypes/ctypes/sandbox/tools/codegen/gccxmlparser.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** gccxmlparser.py 25 Nov 2004 09:05:25 -0000 1.6 --- gccxmlparser.py 7 Dec 2004 08:25:26 -0000 1.7 *************** *** 131,135 **** # id, returns, attributes returns = attrs["returns"] ! return typedesc.FunctionType(returns) def _fixup_FunctionType(self, func): --- 131,136 ---- # id, returns, attributes returns = attrs["returns"] ! attributes = attrs.get("attributes", "").split() ! return typedesc.FunctionType(returns, attributes) def _fixup_FunctionType(self, func): |