1 /* Interpreter ID Object */
2
3 #ifndef Py_INTERNAL_INTERPRETERIDOBJECT_H
4 #define Py_INTERNAL_INTERPRETERIDOBJECT_H
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8
9 #ifndef Py_BUILD_CORE
10 # error "this header requires Py_BUILD_CORE define"
11 #endif
12
13 PyAPI_DATA(PyTypeObject) _PyInterpreterID_Type;
14
15 PyAPI_FUNC(PyObject *) _PyInterpreterID_New(int64_t);
16 PyAPI_FUNC(PyObject *) _PyInterpreterState_GetIDObject(PyInterpreterState *);
17 PyAPI_FUNC(PyInterpreterState *) _PyInterpreterID_LookUp(PyObject *);
18
19 #ifdef __cplusplus
20 }
21 #endif
22 #endif // !Py_INTERNAL_INTERPRETERIDOBJECT_H