Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-11-19 09:50:46

0001 #ifndef Py_INTERNAL_GENOBJECT_H
0002 #define Py_INTERNAL_GENOBJECT_H
0003 #ifdef __cplusplus
0004 extern "C" {
0005 #endif
0006 
0007 #ifndef Py_BUILD_CORE
0008 #  error "this header requires Py_BUILD_CORE define"
0009 #endif
0010 
0011 #include "pycore_freelist.h"
0012 
0013 PyAPI_FUNC(PyObject *)_PyGen_yf(PyGenObject *);
0014 extern void _PyGen_Finalize(PyObject *self);
0015 
0016 // Export for '_asyncio' shared extension
0017 PyAPI_FUNC(int) _PyGen_SetStopIterationValue(PyObject *);
0018 
0019 // Export for '_asyncio' shared extension
0020 PyAPI_FUNC(int) _PyGen_FetchStopIterationValue(PyObject **);
0021 
0022 PyAPI_FUNC(PyObject *)_PyCoro_GetAwaitableIter(PyObject *o);
0023 extern PyObject *_PyAsyncGenValueWrapperNew(PyThreadState *state, PyObject *);
0024 
0025 extern PyTypeObject _PyCoroWrapper_Type;
0026 extern PyTypeObject _PyAsyncGenWrappedValue_Type;
0027 extern PyTypeObject _PyAsyncGenAThrow_Type;
0028 
0029 #ifdef __cplusplus
0030 }
0031 #endif
0032 #endif /* !Py_INTERNAL_GENOBJECT_H */