]> granicus.if.org Git - python/commit
Make PyObject_{NEW,New,Del,DEL} always use the standard malloc (PyMem_*)
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>
Fri, 22 Mar 2002 15:25:18 +0000 (15:25 +0000)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>
Fri, 22 Mar 2002 15:25:18 +0000 (15:25 +0000)
commitffd53997286973bc6abcfdc0fae92aaa88b51f67
treec1df9ea05196e8a59bd9d22162a82bda969a40fd
parent150ed6113ce0e6558eafa27149e75e1463df20df
Make PyObject_{NEW,New,Del,DEL} always use the standard malloc (PyMem_*)
and not pymalloc.  Add the functions PyMalloc_New, PyMalloc_NewVar, and
PyMalloc_Del that will use pymalloc if it's enabled.   If pymalloc is
not enabled then they use the standard malloc (PyMem_*).
Include/objimpl.h