2021-10-15 06:56:34 -03:00
|
|
|
/* Interpreter ID Object */
|
|
|
|
|
|
|
|
#ifndef Py_INTERNAL_INTERPRETERIDOBJECT_H
|
|
|
|
#define Py_INTERNAL_INTERPRETERIDOBJECT_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
2019-03-15 19:35:46 -03:00
|
|
|
#endif
|
|
|
|
|
2021-10-15 06:56:34 -03:00
|
|
|
#ifndef Py_BUILD_CORE
|
|
|
|
# error "this header requires Py_BUILD_CORE define"
|
|
|
|
#endif
|
2019-03-15 19:35:46 -03:00
|
|
|
|
|
|
|
PyAPI_DATA(PyTypeObject) _PyInterpreterID_Type;
|
|
|
|
|
|
|
|
PyAPI_FUNC(PyObject *) _PyInterpreterID_New(int64_t);
|
|
|
|
PyAPI_FUNC(PyObject *) _PyInterpreterState_GetIDObject(PyInterpreterState *);
|
|
|
|
PyAPI_FUNC(PyInterpreterState *) _PyInterpreterID_LookUp(PyObject *);
|
2021-10-15 06:56:34 -03:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif // !Py_INTERNAL_INTERPRETERIDOBJECT_H
|