summaryrefslogtreecommitdiff
path: root/Include/longintrepr.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-12 11:45:45 +0000
committerGuido van Rossum <guido@python.org>1995-01-12 11:45:45 +0000
commitcaa63808861d4e92d4dc1005fc01de0f2e4a8fd0 (patch)
tree3771531169ab510aca9b69cdc4d9de2b5c8810c4 /Include/longintrepr.h
parent94390ec2a6ea5acbea9dead528ce067c396a0301 (diff)
downloadcpython-git-caa63808861d4e92d4dc1005fc01de0f2e4a8fd0.tar.gz
The great renaming, phase two: all header files have been updated to
use the new names exclusively, and the linker will see the new names. Files that import "Python.h" also only see the new names. Files that import "allobjects.h" will continue to be able to use the old names, due to the inclusion (in allobjects.h) of "rename2.h".
Diffstat (limited to 'Include/longintrepr.h')
-rw-r--r--Include/longintrepr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/longintrepr.h b/Include/longintrepr.h
index 7ed12d29e1..a5b1b364ff 100644
--- a/Include/longintrepr.h
+++ b/Include/longintrepr.h
@@ -61,12 +61,12 @@ typedef long stwodigits; /* signed variant of twodigits */
so that ob_digit[0] ... ob_digit[abs(ob_size)-1] are actually available. */
struct _longobject {
- OB_HEAD
+ PyObject_HEAD
int ob_size; /* XXX Hack! newvarobj() stores it as unsigned! */
digit ob_digit[1];
};
-longobject *alloclongobject PROTO((int));
+PyLongObject *_PyLong_New Py_PROTO((int));
#ifdef __cplusplus
}