Kaydet (Commit) 1b672673 authored tarafından Georg Brandl's avatar Georg Brandl

Bug #1432350: arrayobject should use PyObject_VAR_HEAD

üst 86d66260
......@@ -188,7 +188,7 @@ These macros are used in the definition of \ctype{PyObject} and
instance. This macro always expands to:
\begin{verbatim}
PyObject_HEAD
int ob_size;
Py_ssize_t ob_size;
\end{verbatim}
Note that \csimplemacro{PyObject_HEAD} is part of the expansion, and
that its own expansion varies depending on the definition of
......
......@@ -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;
......
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