mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-35081: Move Py_BUILD_CORE code to internal/mem.h (GH-10249)
* Add #include "internal/mem.h" to C files using _PyMem_SetDefaultAllocator(). * Include/internal/mem.h now requires Py_BUILD_CORE to be defined.
This commit is contained in:
parent
b08746bfdf
commit
2be00d987d
10 changed files with 20 additions and 10 deletions
|
@ -15,6 +15,7 @@ Data members:
|
|||
*/
|
||||
|
||||
#include "Python.h"
|
||||
#include "internal/mem.h"
|
||||
#include "internal/pystate.h"
|
||||
#include "code.h"
|
||||
#include "frameobject.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue