summaryrefslogtreecommitdiff
path: root/Python/marshal.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-12-19 02:45:37 +0000
committerChristian Heimes <christian@cheimes.de>2007-12-19 02:45:37 +0000
commit90aa7646affbaee9628ca6ea6a702aec17b3b550 (patch)
treee820962e9658a92c7147b686f8aa88c7658c5949 /Python/marshal.c
parent99170a5dbf4cfee78b578672b6821e855f92594b (diff)
downloadcpython-git-90aa7646affbaee9628ca6ea6a702aec17b3b550.tar.gz
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.
Diffstat (limited to 'Python/marshal.c')
-rw-r--r--Python/marshal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/marshal.c b/Python/marshal.c
index c06ef8bb26..4ea43da552 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -153,7 +153,7 @@ w_object(PyObject *v, WFILE *p)
PyLongObject *ob = (PyLongObject *)v;
PyErr_Clear();
w_byte(TYPE_LONG, p);
- n = Py_Size(ob);
+ n = Py_SIZE(ob);
w_long((long)n, p);
if (n < 0)
n = -n;
@@ -557,7 +557,7 @@ r_object(RFILE *p)
retval = NULL;
break;
}
- Py_Size(ob) = n;
+ Py_SIZE(ob) = n;
for (i = 0; i < size; i++) {
int digit = r_short(p);
if (digit < 0) {