Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/python3....
File: descrobject.h
/* Descriptors */
[0] Fix | Delete
#ifndef Py_DESCROBJECT_H
[1] Fix | Delete
#define Py_DESCROBJECT_H
[2] Fix | Delete
#ifdef __cplusplus
[3] Fix | Delete
extern "C" {
[4] Fix | Delete
#endif
[5] Fix | Delete
[6] Fix | Delete
typedef PyObject *(*getter)(PyObject *, void *);
[7] Fix | Delete
typedef int (*setter)(PyObject *, PyObject *, void *);
[8] Fix | Delete
[9] Fix | Delete
typedef struct PyGetSetDef {
[10] Fix | Delete
char *name;
[11] Fix | Delete
getter get;
[12] Fix | Delete
setter set;
[13] Fix | Delete
char *doc;
[14] Fix | Delete
void *closure;
[15] Fix | Delete
} PyGetSetDef;
[16] Fix | Delete
[17] Fix | Delete
#ifndef Py_LIMITED_API
[18] Fix | Delete
typedef PyObject *(*wrapperfunc)(PyObject *self, PyObject *args,
[19] Fix | Delete
void *wrapped);
[20] Fix | Delete
[21] Fix | Delete
typedef PyObject *(*wrapperfunc_kwds)(PyObject *self, PyObject *args,
[22] Fix | Delete
void *wrapped, PyObject *kwds);
[23] Fix | Delete
[24] Fix | Delete
struct wrapperbase {
[25] Fix | Delete
char *name;
[26] Fix | Delete
int offset;
[27] Fix | Delete
void *function;
[28] Fix | Delete
wrapperfunc wrapper;
[29] Fix | Delete
char *doc;
[30] Fix | Delete
int flags;
[31] Fix | Delete
PyObject *name_strobj;
[32] Fix | Delete
};
[33] Fix | Delete
[34] Fix | Delete
/* Flags for above struct */
[35] Fix | Delete
#define PyWrapperFlag_KEYWORDS 1 /* wrapper function takes keyword args */
[36] Fix | Delete
[37] Fix | Delete
/* Various kinds of descriptor objects */
[38] Fix | Delete
[39] Fix | Delete
typedef struct {
[40] Fix | Delete
PyObject_HEAD
[41] Fix | Delete
PyTypeObject *d_type;
[42] Fix | Delete
PyObject *d_name;
[43] Fix | Delete
PyObject *d_qualname;
[44] Fix | Delete
} PyDescrObject;
[45] Fix | Delete
[46] Fix | Delete
#define PyDescr_COMMON PyDescrObject d_common
[47] Fix | Delete
[48] Fix | Delete
#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
[49] Fix | Delete
#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
[50] Fix | Delete
[51] Fix | Delete
typedef struct {
[52] Fix | Delete
PyDescr_COMMON;
[53] Fix | Delete
PyMethodDef *d_method;
[54] Fix | Delete
} PyMethodDescrObject;
[55] Fix | Delete
[56] Fix | Delete
typedef struct {
[57] Fix | Delete
PyDescr_COMMON;
[58] Fix | Delete
struct PyMemberDef *d_member;
[59] Fix | Delete
} PyMemberDescrObject;
[60] Fix | Delete
[61] Fix | Delete
typedef struct {
[62] Fix | Delete
PyDescr_COMMON;
[63] Fix | Delete
PyGetSetDef *d_getset;
[64] Fix | Delete
} PyGetSetDescrObject;
[65] Fix | Delete
[66] Fix | Delete
typedef struct {
[67] Fix | Delete
PyDescr_COMMON;
[68] Fix | Delete
struct wrapperbase *d_base;
[69] Fix | Delete
void *d_wrapped; /* This can be any function pointer */
[70] Fix | Delete
} PyWrapperDescrObject;
[71] Fix | Delete
#endif /* Py_LIMITED_API */
[72] Fix | Delete
[73] Fix | Delete
PyAPI_DATA(PyTypeObject) PyClassMethodDescr_Type;
[74] Fix | Delete
PyAPI_DATA(PyTypeObject) PyGetSetDescr_Type;
[75] Fix | Delete
PyAPI_DATA(PyTypeObject) PyMemberDescr_Type;
[76] Fix | Delete
PyAPI_DATA(PyTypeObject) PyMethodDescr_Type;
[77] Fix | Delete
PyAPI_DATA(PyTypeObject) PyWrapperDescr_Type;
[78] Fix | Delete
PyAPI_DATA(PyTypeObject) PyDictProxy_Type;
[79] Fix | Delete
#ifndef Py_LIMITED_API
[80] Fix | Delete
PyAPI_DATA(PyTypeObject) _PyMethodWrapper_Type;
[81] Fix | Delete
#endif /* Py_LIMITED_API */
[82] Fix | Delete
[83] Fix | Delete
PyAPI_FUNC(PyObject *) PyDescr_NewMethod(PyTypeObject *, PyMethodDef *);
[84] Fix | Delete
PyAPI_FUNC(PyObject *) PyDescr_NewClassMethod(PyTypeObject *, PyMethodDef *);
[85] Fix | Delete
struct PyMemberDef; /* forward declaration for following prototype */
[86] Fix | Delete
PyAPI_FUNC(PyObject *) PyDescr_NewMember(PyTypeObject *,
[87] Fix | Delete
struct PyMemberDef *);
[88] Fix | Delete
PyAPI_FUNC(PyObject *) PyDescr_NewGetSet(PyTypeObject *,
[89] Fix | Delete
struct PyGetSetDef *);
[90] Fix | Delete
#ifndef Py_LIMITED_API
[91] Fix | Delete
PyAPI_FUNC(PyObject *) PyDescr_NewWrapper(PyTypeObject *,
[92] Fix | Delete
struct wrapperbase *, void *);
[93] Fix | Delete
#define PyDescr_IsData(d) (Py_TYPE(d)->tp_descr_set != NULL)
[94] Fix | Delete
#endif
[95] Fix | Delete
[96] Fix | Delete
PyAPI_FUNC(PyObject *) PyDictProxy_New(PyObject *);
[97] Fix | Delete
PyAPI_FUNC(PyObject *) PyWrapper_New(PyObject *, PyObject *);
[98] Fix | Delete
[99] Fix | Delete
[100] Fix | Delete
PyAPI_DATA(PyTypeObject) PyProperty_Type;
[101] Fix | Delete
#ifdef __cplusplus
[102] Fix | Delete
}
[103] Fix | Delete
#endif
[104] Fix | Delete
#endif /* !Py_DESCROBJECT_H */
[105] Fix | Delete
[106] Fix | Delete
[107] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function