aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Include/cpython/interpreteridobject.h
blob: 5076584209b90b4f8309913b9ade0fd121f8d526 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#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 *);