Bug #1432350: arrayobject should use PyObject_VAR_HEAD

This commit is contained in:
Georg Brandl 2006-02-17 08:56:33 +00:00
parent 86d662602d
commit 1b6726732c
2 changed files with 2 additions and 3 deletions

View file

@ -29,8 +29,7 @@ struct arraydescr {
};
typedef struct arrayobject {
PyObject_HEAD
Py_ssize_t ob_size;
PyObject_VAR_HEAD
char *ob_item;
Py_ssize_t allocated;
struct arraydescr *ob_descr;