mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-35081: Add Include/internal/pycore_object.h (GH-10640)
Move _PyObject_GC_TRACK() and _PyObject_GC_UNTRACK() from Include/objimpl.h to Include/internal/pycore_object.h.
This commit is contained in:
parent
aac1f81eef
commit
bcda8f1d42
34 changed files with 93 additions and 50 deletions
|
@ -10,6 +10,7 @@
|
|||
#define PY_LOCAL_AGGRESSIVE
|
||||
|
||||
#include "Python.h"
|
||||
#include "pycore_object.h"
|
||||
#include "pycore_pystate.h"
|
||||
|
||||
#include "code.h"
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
#include "Python.h"
|
||||
|
||||
#include "structmember.h"
|
||||
#include "pycore_pystate.h"
|
||||
#include "pycore_context.h"
|
||||
#include "pycore_hamt.h"
|
||||
#include "pycore_object.h"
|
||||
#include "pycore_pystate.h"
|
||||
#include "structmember.h"
|
||||
|
||||
|
||||
#define CONTEXT_FREELIST_MAXLEN 255
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
#include "Python.h"
|
||||
|
||||
#include "structmember.h"
|
||||
#include "pycore_pystate.h"
|
||||
#include "pycore_hamt.h"
|
||||
#include "pycore_object.h"
|
||||
#include "pycore_pystate.h"
|
||||
#include "structmember.h"
|
||||
|
||||
/*
|
||||
This file provides an implemention of an immutable mapping using the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue