[ctypes-commit] ctypes/source cfield.c,1.68.2.1,1.68.2.2
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2004-11-26 18:40:25
|
Update of /cvsroot/ctypes/ctypes/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16309 Modified Files: Tag: KEEP_IN_DICT_BRANCH cfield.c Log Message: Add TODO style comment. Index: cfield.c =================================================================== RCS file: /cvsroot/ctypes/ctypes/source/cfield.c,v retrieving revision 1.68.2.1 retrieving revision 1.68.2.2 diff -C2 -d -r1.68.2.1 -r1.68.2.2 *** cfield.c 25 Nov 2004 14:53:35 -0000 1.68.2.1 --- cfield.c 26 Nov 2004 18:40:15 -0000 1.68.2.2 *************** *** 919,922 **** --- 919,923 ---- z_get(void *ptr, unsigned size) { + /* XXX What about invalid pointers ??? */ if (*(void **)ptr) return PyString_FromString(*(char **)ptr); |