Commit 07347d6e authored by Thomas Heller's avatar Thomas Heller

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

parent ecc3e67b
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment