summaryrefslogtreecommitdiffstats
path: root/Include/cpython/interpreteridobject.h
blob: 4ab9ad5d315f80661f3808ba3ad48bbd510aa0cf (plain)
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 *);