[ctypes-commit] ctypes/sandbox/tools/codegen typedesc.py,1.1,1.2
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2004-12-08 16:10:07
|
Update of /cvsroot/ctypes/ctypes/sandbox/tools/codegen In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16624 Modified Files: typedesc.py Log Message: Add attributes to FunctionType. Index: typedesc.py =================================================================== RCS file: /cvsroot/ctypes/ctypes/sandbox/tools/codegen/typedesc.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** typedesc.py 25 Nov 2004 09:05:25 -0000 1.1 --- typedesc.py 8 Dec 2004 16:09:57 -0000 1.2 *************** *** 31,36 **** class FunctionType(_HasArgs): ! def __init__(self, returns): self.returns = returns self.arguments = [] --- 31,37 ---- class FunctionType(_HasArgs): ! def __init__(self, returns, attributes): self.returns = returns + self.attributes = attributes self.arguments = [] |