[ctypes-commit] ctypes/source _ctypes.c,1.181,1.182
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2004-11-05 10:36:47
|
Update of /cvsroot/ctypes/ctypes/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16719 Modified Files: _ctypes.c Log Message: Rename a function. Index: _ctypes.c =================================================================== RCS file: /cvsroot/ctypes/ctypes/source/_ctypes.c,v retrieving revision 1.181 retrieving revision 1.182 diff -C2 -d -r1.181 -r1.182 *** _ctypes.c 4 Nov 2004 20:03:15 -0000 1.181 --- _ctypes.c 5 Nov 2004 10:36:36 -0000 1.182 *************** *** 106,116 **** /* StructType_Type - a meta type/class. Creating a new class using this one as ! __metaclass__ will call the contructor CDataType_new. CDataType_new ! replaces the tp_dict member with a new instance of StgDict, and initializes ! the C accessible fields somehow. */ static PyObject * ! CDataType_new(PyTypeObject *type, PyObject *args, PyObject *kwds, int isStruct) { PyTypeObject *result; --- 106,116 ---- /* StructType_Type - a meta type/class. Creating a new class using this one as ! __metaclass__ will call the contructor StructUnionType_new. It replaces the ! tp_dict member with a new instance of StgDict, and initializes the C ! accessible fields somehow. */ static PyObject * ! StructUnionType_new(PyTypeObject *type, PyObject *args, PyObject *kwds, int isStruct) { PyTypeObject *result; *************** *** 149,153 **** StructType_new(PyTypeObject *type, PyObject *args, PyObject *kwds) { ! return CDataType_new(type, args, kwds, 1); } --- 149,153 ---- StructType_new(PyTypeObject *type, PyObject *args, PyObject *kwds) { ! return StructUnionType_new(type, args, kwds, 1); } *************** *** 155,159 **** UnionType_new(PyTypeObject *type, PyObject *args, PyObject *kwds) { ! return CDataType_new(type, args, kwds, 0); } --- 155,159 ---- UnionType_new(PyTypeObject *type, PyObject *args, PyObject *kwds) { ! return StructUnionType_new(type, args, kwds, 0); } |