mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-35081: Move interpreteridobject.h to Include/internal/ (GH-28969)
Move the interpreteridobject.h header file from Include/ to Include/internal/. It only provides private functions.
This commit is contained in:
parent
59a633d3e2
commit
063abd931f
11 changed files with 26 additions and 35 deletions
22
Include/internal/pycore_interpreteridobject.h
Normal file
22
Include/internal/pycore_interpreteridobject.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
/* Interpreter ID Object */
|
||||
|
||||
#ifndef Py_INTERNAL_INTERPRETERIDOBJECT_H
|
||||
#define Py_INTERNAL_INTERPRETERIDOBJECT_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef Py_BUILD_CORE
|
||||
# error "this header requires Py_BUILD_CORE define"
|
||||
#endif
|
||||
|
||||
PyAPI_DATA(PyTypeObject) _PyInterpreterID_Type;
|
||||
|
||||
PyAPI_FUNC(PyObject *) _PyInterpreterID_New(int64_t);
|
||||
PyAPI_FUNC(PyObject *) _PyInterpreterState_GetIDObject(PyInterpreterState *);
|
||||
PyAPI_FUNC(PyInterpreterState *) _PyInterpreterID_LookUp(PyObject *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif // !Py_INTERNAL_INTERPRETERIDOBJECT_H
|
Loading…
Add table
Add a link
Reference in a new issue