cpython: c4c14e34e528 (original) (raw)

Mercurial > cpython

changeset 101060:c4c14e34e528

Don't define _PyMem_PymallocEnabled() if pymalloc is disabled Isse #26516. [#26516]

Victor Stinner victor.stinner@gmail.com
date Tue, 19 Apr 2016 17:02:55 +0200
parents 3a9b47b062b9
children 8f16a0f3419b
files Objects/obmalloc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Objects/obmalloc.c 2

line wrap: on

line diff

--- a/Objects/obmalloc.c +++ b/Objects/obmalloc.c @@ -286,13 +286,13 @@ static PyObjectArenaAllocator PyObject #endif }; +#ifdef WITH_PYMALLOC static int _PyMem_DebugEnabled(void) { return (_PyObject.malloc == _PyMem_DebugMalloc); } -#ifdef WITH_PYMALLOC int _PyMem_PymallocEnabled(void) {