[Python-checkins] r46690 - python/trunk/Modules/_ctypes/cfield.c
thomas.heller
python-checkins at python.org
Tue Jun 6 13:54:33 CEST 2006
Author: thomas.heller
Date: Tue Jun 6 13:54:32 2006
New Revision: 46690
Modified:
python/trunk/Modules/_ctypes/cfield.c
Log:
Damn - the sentinel was missing. And fix another silly mistake.
Modified: python/trunk/Modules/_ctypes/cfield.c
==============================================================================
--- python/trunk/Modules/_ctypes/cfield.c (original)
+++ python/trunk/Modules/_ctypes/cfield.c Tue Jun 6 13:54:32 2006
@@ -229,7 +229,8 @@
static PyGetSetDef CField_getset[] = {
{ "offset", CField_get_offset, NULL, "offset in bytes of this field" },
- { "size", CField_get_offset, NULL, "size in bytes of this field" },
+ { "size", CField_get_size, NULL, "size in bytes of this field" },
+ { NULL, NULL, NULL, NULL },
};
static int
More information about the Python-checkins
mailing list