return PyObject_INIT_VAR(op, tp, nitems);
}
+/* for binary compatibility with 2.2 */
+#undef _PyObject_Del
void
_PyObject_Del(PyObject *op)
{
}
-/* Python's object malloc wrappers (see objimpl.h) */
-
-void *
-PyObject_Malloc(size_t nbytes)
-{
- return PyObject_MALLOC(nbytes);
-}
-
-void *
-PyObject_Realloc(void *p, size_t nbytes)
-{
- return PyObject_REALLOC(p, nbytes);
-}
-
-void
-PyObject_Free(void *p)
-{
- PyObject_FREE(p);
-}
-
-
/* These methods are used to control infinite recursion in repr, str, print,
etc. Container objects that may recursively contain themselves,
e.g. builtin dictionaries and lists, should used Py_ReprEnter() and