summaryrefslogtreecommitdiffstats
path: root/Include/objimpl.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-02-10 16:55:33 (GMT)
committerGuido van Rossum <guido@python.org>1995-02-10 16:55:33 (GMT)
commitb7d3d4e5d6ab4f74f7c30f2f0bade59ef7b7cb7d (patch)
treeedb9e3c40a0dc0482692d27979565bcb5bacafdb /Include/objimpl.h
parent10f8efd87add5850c54cad74353d42c03e903aae (diff)
downloadcpython-b7d3d4e5d6ab4f74f7c30f2f0bade59ef7b7cb7d.zip
cpython-b7d3d4e5d6ab4f74f7c30f2f0bade59ef7b7cb7d.tar.gz
cpython-b7d3d4e5d6ab4f74f7c30f2f0bade59ef7b7cb7d.tar.bz2
make newvarobj's size arg signed
Diffstat (limited to 'Include/objimpl.h')
-rw-r--r--Include/objimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/objimpl.h b/Include/objimpl.h
index cb27c7c..139e337 100644
--- a/Include/objimpl.h
+++ b/Include/objimpl.h
@@ -48,7 +48,7 @@ n * tp_itemsize. This fills in the ob_size field as well.
*/
extern PyObject *_PyObject_New Py_PROTO((PyTypeObject *));
-extern varobject *_PyObject_NewVar Py_PROTO((PyTypeObject *, unsigned int));
+extern varobject *_PyObject_NewVar Py_PROTO((PyTypeObject *, int));
#define PyObject_NEW(type, typeobj) ((type *) _PyObject_New(typeobj))
#define PyObject_NEW_VAR(type, typeobj, n) ((type *) _PyObject_NewVar(typeobj, n))