blob: cb72c2b0895a6c7294778801efb3c6d12bb07632 [file] [log] [blame]
Eric Snowc11183c2019-03-15 16:35:46 -06001#ifndef Py_CPYTHON_INTERPRETERIDOBJECT_H
2# error "this header file must not be included directly"
3#endif
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9/* Interpreter ID Object */
10
11PyAPI_DATA(PyTypeObject) _PyInterpreterID_Type;
12
13PyAPI_FUNC(PyObject *) _PyInterpreterID_New(int64_t);
14PyAPI_FUNC(PyObject *) _PyInterpreterState_GetIDObject(PyInterpreterState *);
15PyAPI_FUNC(PyInterpreterState *) _PyInterpreterID_LookUp(PyObject *);
16
17PyAPI_FUNC(int64_t) _Py_CoerceID(PyObject *);
18
19#ifdef __cplusplus
20}
21#endif