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
commitd87a72a1e9d2f905be78a5f0b6f0efd2c71aecd4 (patch)
tree19dda31d5adcf70440e5aa2565efa9d1701a2f21 /Python/marshal.c
parent386ef4a4352cfcfdc9f666f2379cfe566ad8b4b7 (diff)
downloadcpython-d87a72a1e9d2f905be78a5f0b6f0efd2c71aecd4.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) {