[ctypes-commit] ctypes/source stgdict.c,1.32,1.33
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2005-04-01 15:26:58
|
Update of /cvsroot/ctypes/ctypes/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20270 Modified Files: stgdict.c Log Message: Minor changes. Index: stgdict.c =================================================================== RCS file: /cvsroot/ctypes/ctypes/source/stgdict.c,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** stgdict.c 14 Mar 2005 08:03:47 -0000 1.32 --- stgdict.c 1 Apr 2005 15:26:22 -0000 1.33 *************** *** 16,22 **** StgDict_init(StgDictObject *self, PyObject *args, PyObject *kwds) { ! if (PyDict_Type.tp_init((PyObject *)self, args, kwds) < 0) ! return -1; ! return 0; } --- 16,20 ---- StgDict_init(StgDictObject *self, PyObject *args, PyObject *kwds) { ! return PyDict_Type.tp_init((PyObject *)self, args, kwds); } *************** *** 284,287 **** --- 282,286 ---- case FFI_TYPE_SINT16: case FFI_TYPE_SINT32: + /* These can be ints, char, or wchar_t */ if (dict->getfunc != getentry("c")->getfunc #ifdef CTYPES_UNICODE |