mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-45316: Move private functions to internal C API (GH-31579)
Move the unexported private functions to the internal C API: * pycore_frame.h: _PyFrame_New_NoTrack() * pycore_function.h: _PyFunction_GetVersionForCurrentState() * pycore_genobject.h: _PyAsyncGenValueWrapperNew() * pycore_genobject.h: _PyCoro_GetAwaitableIter() * pycore_genobject.h: _PyGen_yf()
This commit is contained in:
parent
26aba295a9
commit
8f2a337a80
7 changed files with 18 additions and 16 deletions
|
@ -8,6 +8,9 @@ extern "C" {
|
|||
# error "this header requires Py_BUILD_CORE define"
|
||||
#endif
|
||||
|
||||
extern PyObject *_PyGen_yf(PyGenObject *);
|
||||
extern PyObject *_PyCoro_GetAwaitableIter(PyObject *o);
|
||||
extern PyObject *_PyAsyncGenValueWrapperNew(PyObject *);
|
||||
|
||||
/* runtime lifecycle */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue