summaryrefslogtreecommitdiffstats
path: root/Include/cpython/interpreteridobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/cpython/interpreteridobject.h')
-rw-r--r--Include/cpython/interpreteridobject.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Include/cpython/interpreteridobject.h b/Include/cpython/interpreteridobject.h
index 4ab9ad5..d425c90 100644
--- a/Include/cpython/interpreteridobject.h
+++ b/Include/cpython/interpreteridobject.h
@@ -8,4 +8,7 @@ PyAPI_DATA(PyTypeObject) PyInterpreterID_Type;
PyAPI_FUNC(PyObject *) PyInterpreterID_New(int64_t);
PyAPI_FUNC(PyObject *) PyInterpreterState_GetIDObject(PyInterpreterState *);
-PyAPI_FUNC(PyInterpreterState *) PyInterpreterID_LookUp(PyObject *);
+
+#ifdef Py_BUILD_CORE
+extern int64_t _PyInterpreterID_GetID(PyObject *);
+#endif