Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/python3....
File: genobject.h
[0] Fix | Delete
/* Generator object interface */
[1] Fix | Delete
[2] Fix | Delete
#ifndef Py_LIMITED_API
[3] Fix | Delete
#ifndef Py_GENOBJECT_H
[4] Fix | Delete
#define Py_GENOBJECT_H
[5] Fix | Delete
#ifdef __cplusplus
[6] Fix | Delete
extern "C" {
[7] Fix | Delete
#endif
[8] Fix | Delete
[9] Fix | Delete
struct _frame; /* Avoid including frameobject.h */
[10] Fix | Delete
[11] Fix | Delete
/* _PyGenObject_HEAD defines the initial segment of generator
[12] Fix | Delete
and coroutine objects. */
[13] Fix | Delete
#define _PyGenObject_HEAD(prefix) \
[14] Fix | Delete
PyObject_HEAD \
[15] Fix | Delete
/* Note: gi_frame can be NULL if the generator is "finished" */ \
[16] Fix | Delete
struct _frame *prefix##_frame; \
[17] Fix | Delete
/* True if generator is being executed. */ \
[18] Fix | Delete
char prefix##_running; \
[19] Fix | Delete
/* The code object backing the generator */ \
[20] Fix | Delete
PyObject *prefix##_code; \
[21] Fix | Delete
/* List of weak reference. */ \
[22] Fix | Delete
PyObject *prefix##_weakreflist; \
[23] Fix | Delete
/* Name of the generator. */ \
[24] Fix | Delete
PyObject *prefix##_name; \
[25] Fix | Delete
/* Qualified name of the generator. */ \
[26] Fix | Delete
PyObject *prefix##_qualname;
[27] Fix | Delete
[28] Fix | Delete
typedef struct {
[29] Fix | Delete
/* The gi_ prefix is intended to remind of generator-iterator. */
[30] Fix | Delete
_PyGenObject_HEAD(gi)
[31] Fix | Delete
} PyGenObject;
[32] Fix | Delete
[33] Fix | Delete
PyAPI_DATA(PyTypeObject) PyGen_Type;
[34] Fix | Delete
[35] Fix | Delete
#define PyGen_Check(op) PyObject_TypeCheck(op, &PyGen_Type)
[36] Fix | Delete
#define PyGen_CheckExact(op) (Py_TYPE(op) == &PyGen_Type)
[37] Fix | Delete
[38] Fix | Delete
PyAPI_FUNC(PyObject *) PyGen_New(struct _frame *);
[39] Fix | Delete
PyAPI_FUNC(PyObject *) PyGen_NewWithQualName(struct _frame *,
[40] Fix | Delete
PyObject *name, PyObject *qualname);
[41] Fix | Delete
PyAPI_FUNC(int) PyGen_NeedsFinalizing(PyGenObject *);
[42] Fix | Delete
PyAPI_FUNC(int) _PyGen_SetStopIterationValue(PyObject *);
[43] Fix | Delete
PyAPI_FUNC(int) _PyGen_FetchStopIterationValue(PyObject **);
[44] Fix | Delete
PyAPI_FUNC(PyObject *) _PyGen_Send(PyGenObject *, PyObject *);
[45] Fix | Delete
PyObject *_PyGen_yf(PyGenObject *);
[46] Fix | Delete
PyAPI_FUNC(void) _PyGen_Finalize(PyObject *self);
[47] Fix | Delete
[48] Fix | Delete
#ifndef Py_LIMITED_API
[49] Fix | Delete
typedef struct {
[50] Fix | Delete
_PyGenObject_HEAD(cr)
[51] Fix | Delete
} PyCoroObject;
[52] Fix | Delete
[53] Fix | Delete
PyAPI_DATA(PyTypeObject) PyCoro_Type;
[54] Fix | Delete
PyAPI_DATA(PyTypeObject) _PyCoroWrapper_Type;
[55] Fix | Delete
[56] Fix | Delete
PyAPI_DATA(PyTypeObject) _PyAIterWrapper_Type;
[57] Fix | Delete
PyObject *_PyAIterWrapper_New(PyObject *aiter);
[58] Fix | Delete
[59] Fix | Delete
#define PyCoro_CheckExact(op) (Py_TYPE(op) == &PyCoro_Type)
[60] Fix | Delete
PyObject *_PyCoro_GetAwaitableIter(PyObject *o);
[61] Fix | Delete
PyAPI_FUNC(PyObject *) PyCoro_New(struct _frame *,
[62] Fix | Delete
PyObject *name, PyObject *qualname);
[63] Fix | Delete
[64] Fix | Delete
/* Asynchronous Generators */
[65] Fix | Delete
[66] Fix | Delete
typedef struct {
[67] Fix | Delete
_PyGenObject_HEAD(ag)
[68] Fix | Delete
PyObject *ag_finalizer;
[69] Fix | Delete
[70] Fix | Delete
/* Flag is set to 1 when hooks set up by sys.set_asyncgen_hooks
[71] Fix | Delete
were called on the generator, to avoid calling them more
[72] Fix | Delete
than once. */
[73] Fix | Delete
int ag_hooks_inited;
[74] Fix | Delete
[75] Fix | Delete
/* Flag is set to 1 when aclose() is called for the first time, or
[76] Fix | Delete
when a StopAsyncIteration exception is raised. */
[77] Fix | Delete
int ag_closed;
[78] Fix | Delete
} PyAsyncGenObject;
[79] Fix | Delete
[80] Fix | Delete
PyAPI_DATA(PyTypeObject) PyAsyncGen_Type;
[81] Fix | Delete
PyAPI_DATA(PyTypeObject) _PyAsyncGenASend_Type;
[82] Fix | Delete
PyAPI_DATA(PyTypeObject) _PyAsyncGenWrappedValue_Type;
[83] Fix | Delete
PyAPI_DATA(PyTypeObject) _PyAsyncGenAThrow_Type;
[84] Fix | Delete
[85] Fix | Delete
PyAPI_FUNC(PyObject *) PyAsyncGen_New(struct _frame *,
[86] Fix | Delete
PyObject *name, PyObject *qualname);
[87] Fix | Delete
[88] Fix | Delete
#define PyAsyncGen_CheckExact(op) (Py_TYPE(op) == &PyAsyncGen_Type)
[89] Fix | Delete
[90] Fix | Delete
PyObject *_PyAsyncGenValueWrapperNew(PyObject *);
[91] Fix | Delete
[92] Fix | Delete
int PyAsyncGen_ClearFreeLists(void);
[93] Fix | Delete
[94] Fix | Delete
#endif
[95] Fix | Delete
[96] Fix | Delete
#undef _PyGenObject_HEAD
[97] Fix | Delete
[98] Fix | Delete
#ifdef __cplusplus
[99] Fix | Delete
}
[100] Fix | Delete
#endif
[101] Fix | Delete
#endif /* !Py_GENOBJECT_H */
[102] Fix | Delete
#endif /* Py_LIMITED_API */
[103] Fix | Delete
[104] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function