summaryrefslogtreecommitdiffstats
path: root/Objects/genobject.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-11-21 21:27:47 (GMT)
committerGitHub <noreply@github.com>2018-11-21 21:27:47 (GMT)
commitbcda8f1d42a98d9022736dd52d855be8e220fe15 (patch)
treed340839a87b14d84adf04fceb230c0922fef0b6c /Objects/genobject.c
parentaac1f81eef971876ba5b1673db9ce6620311c469 (diff)
downloadcpython-bcda8f1d42a98d9022736dd52d855be8e220fe15.zip
cpython-bcda8f1d42a98d9022736dd52d855be8e220fe15.tar.gz
cpython-bcda8f1d42a98d9022736dd52d855be8e220fe15.tar.bz2
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.
Diffstat (limited to 'Objects/genobject.c')
-rw-r--r--Objects/genobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/genobject.c b/Objects/genobject.c
index 716bd6d..3279a09 100644
--- a/Objects/genobject.c
+++ b/Objects/genobject.c
@@ -1,6 +1,7 @@
/* Generator object implementation */
#include "Python.h"
+#include "pycore_object.h"
#include "pycore_pystate.h"
#include "frameobject.h"
#include "structmember.h"