summaryrefslogtreecommitdiff
path: root/Include/cpython/pymem.h
Commit message (Collapse)AuthorAgeFilesLines
* bpo-36763: Add PyMemAllocatorName (GH-13387)Victor Stinner2019-05-171-5/+14
| | | | | | | | | | | | | | * Add PyMemAllocatorName enum * _PyPreConfig.allocator type becomes PyMemAllocatorName, instead of char* * Remove _PyPreConfig_Clear() * Add _PyMem_GetAllocatorName() * Rename _PyMem_GetAllocatorsName() to _PyMem_GetCurrentAllocatorName() * Remove _PyPreConfig_SetAllocator(): just call _PyMem_SetupAllocators() directly, we don't have do reallocate the configuration with the new allocator anymore! * _PyPreConfig_Write() parameter becomes const, as it should be in the first place!
* bpo-35134: Add Include/cpython/pymem.h (GH-12840)Victor Stinner2019-04-151-0/+99
Move unstable CPython API from Include/pymem.h into a new Include/cpython/pymem.h header file.