Damn - the sentinel was missing. And fix another silly mistake.

This commit is contained in:
Thomas Heller 2006-06-06 11:54:32 +00:00
parent ecc3e67b98
commit 07347d6efc
1 changed files with 2 additions and 1 deletions

View File

@ -229,7 +229,8 @@ CField_get_size(PyObject *self, void *data)
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