mirror of
https://github.com/python/cpython.git
synced 2025-10-10 08:53:14 +00:00

The _xxsubinterpreters module should not rely on internal API. Some of the functions it uses were recently moved there however. Here we move them back (and expose them properly).
11 lines
383 B
C
11 lines
383 B
C
#ifndef Py_CPYTHON_INTERPRETERIDOBJECT_H
|
|
# error "this header file must not be included directly"
|
|
#endif
|
|
|
|
/* Interpreter ID Object */
|
|
|
|
PyAPI_DATA(PyTypeObject) PyInterpreterID_Type;
|
|
|
|
PyAPI_FUNC(PyObject *) PyInterpreterID_New(int64_t);
|
|
PyAPI_FUNC(PyObject *) PyInterpreterState_GetIDObject(PyInterpreterState *);
|
|
PyAPI_FUNC(PyInterpreterState *) PyInterpreterID_LookUp(PyObject *);
|