diff options
author | Guido van Rossum <guido@python.org> | 1997-05-15 21:31:03 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-05-15 21:31:03 (GMT) |
commit | d0c87ee6c4204864984a8bf0f90eba8a5e4f9471 (patch) | |
tree | cadda681170954a0d6db7ac063a1e8135ab45d95 /Objects/object.c | |
parent | fe28fa05e9c08978fa6e162ddf64e873c84cdc9a (diff) | |
download | cpython-d0c87ee6c4204864984a8bf0f90eba8a5e4f9471.zip cpython-d0c87ee6c4204864984a8bf0f90eba8a5e4f9471.tar.gz cpython-d0c87ee6c4204864984a8bf0f90eba8a5e4f9471.tar.bz2 |
Oops, another forgotten renaming: varobject -> PyVarObject.
Diffstat (limited to 'Objects/object.c')
-rw-r--r-- | Objects/object.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Objects/object.c b/Objects/object.c index a2198e6..c4adf9a 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -129,24 +129,24 @@ _PyObject_New(tp,op) } #ifndef MS_COREDLL -varobject * +PyVarObject * _PyObject_NewVar(tp, size) PyTypeObject *tp; int size; #else -varobject * +PyVarObject * _PyObject_NewVar(tp, size, op) PyTypeObject *tp; int size; - varobject *op; + PyVarObject *op; #endif { #ifndef MS_COREDLL - varobject *op = (varobject *) + PyVarObject *op = (PyVarObject *) malloc(tp->tp_basicsize + size * tp->tp_itemsize); #endif if (op == NULL) - return (varobject *)PyErr_NoMemory(); + return (PyVarObject *)PyErr_NoMemory(); op->ob_type = tp; op->ob_size = size; _Py_NewReference(op); |