Mercurial > cpython-lru_cache-weakref
diff Include/objimpl.h @ 2305:65a68c51e9f2 legacy-trunk
make newvarobj's size arg signed
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 10 Feb 1995 16:55:33 +0000 |
| parents | 05360cd616ae |
| children | 29fe6a0de366 |
line wrap: on
line diff
--- a/Include/objimpl.h Fri Feb 10 16:51:02 1995 +0000 +++ b/Include/objimpl.h Fri Feb 10 16:55:33 1995 +0000 @@ -48,7 +48,7 @@ */ 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))
