summaryrefslogtreecommitdiffstats
path: root/Include/cpython/pymem.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/cpython/pymem.h')
-rw-r--r--Include/cpython/pymem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/cpython/pymem.h b/Include/cpython/pymem.h
index dc4a65c..76b3221 100644
--- a/Include/cpython/pymem.h
+++ b/Include/cpython/pymem.h
@@ -23,6 +23,10 @@ typedef enum {
PYMEM_ALLOCATOR_PYMALLOC = 5,
PYMEM_ALLOCATOR_PYMALLOC_DEBUG = 6,
#endif
+#ifdef WITH_MIMALLOC
+ PYMEM_ALLOCATOR_MIMALLOC = 7,
+ PYMEM_ALLOCATOR_MIMALLOC_DEBUG = 8,
+#endif
} PyMemAllocatorName;