Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include/python2....
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
typedef PyObject *(*wrapperfunc)(PyObject *self, PyObject *args,
[18] Fix | Delete
void *wrapped);
[19] Fix | Delete
[20] Fix | Delete
typedef PyObject *(*wrapperfunc_kwds)(PyObject *self, PyObject *args,
[21] Fix | Delete
void *wrapped, PyObject *kwds);
[22] Fix | Delete
[23] Fix | Delete
struct wrapperbase {
[24] Fix | Delete
char *name;
[25] Fix | Delete
int offset;
[26] Fix | Delete
void *function;
[27] Fix | Delete
wrapperfunc wrapper;
[28] Fix | Delete
char *doc;
[29] Fix | Delete
int flags;
[30] Fix | Delete
PyObject *name_strobj;
[31] Fix | Delete
};
[32] Fix | Delete
[33] Fix | Delete
/* Flags for above struct */
[34] Fix | Delete
#define PyWrapperFlag_KEYWORDS 1 /* wrapper function takes keyword args */
[35] Fix | Delete
[36] Fix | Delete
/* Various kinds of descriptor objects */
[37] Fix | Delete
[38] Fix | Delete
#define PyDescr_COMMON \
[39] Fix | Delete
PyObject_HEAD \
[40] Fix | Delete
PyTypeObject *d_type; \
[41] Fix | Delete
PyObject *d_name
[42] Fix | Delete
[43] Fix | Delete
typedef struct {
[44] Fix | Delete
PyDescr_COMMON;
[45] Fix | Delete
} PyDescrObject;
[46] Fix | Delete
[47] Fix | Delete
typedef struct {
[48] Fix | Delete
PyDescr_COMMON;
[49] Fix | Delete
PyMethodDef *d_method;
[50] Fix | Delete
} PyMethodDescrObject;
[51] Fix | Delete
[52] Fix | Delete
typedef struct {
[53] Fix | Delete
PyDescr_COMMON;
[54] Fix | Delete
struct PyMemberDef *d_member;
[55] Fix | Delete
} PyMemberDescrObject;
[56] Fix | Delete
[57] Fix | Delete
typedef struct {
[58] Fix | Delete
PyDescr_COMMON;
[59] Fix | Delete
PyGetSetDef *d_getset;
[60] Fix | Delete
} PyGetSetDescrObject;
[61] Fix | Delete
[62] Fix | Delete
typedef struct {
[63] Fix | Delete
PyDescr_COMMON;
[64] Fix | Delete
struct wrapperbase *d_base;
[65] Fix | Delete
void *d_wrapped; /* This can be any function pointer */
[66] Fix | Delete
} PyWrapperDescrObject;
[67] Fix | Delete
[68] Fix | Delete
PyAPI_DATA(PyTypeObject) PyWrapperDescr_Type;
[69] Fix | Delete
PyAPI_DATA(PyTypeObject) PyDictProxy_Type;
[70] Fix | Delete
PyAPI_DATA(PyTypeObject) PyGetSetDescr_Type;
[71] Fix | Delete
PyAPI_DATA(PyTypeObject) PyMemberDescr_Type;
[72] Fix | Delete
[73] Fix | Delete
PyAPI_FUNC(PyObject *) PyDescr_NewMethod(PyTypeObject *, PyMethodDef *);
[74] Fix | Delete
PyAPI_FUNC(PyObject *) PyDescr_NewClassMethod(PyTypeObject *, PyMethodDef *);
[75] Fix | Delete
PyAPI_FUNC(PyObject *) PyDescr_NewMember(PyTypeObject *,
[76] Fix | Delete
struct PyMemberDef *);
[77] Fix | Delete
PyAPI_FUNC(PyObject *) PyDescr_NewGetSet(PyTypeObject *,
[78] Fix | Delete
struct PyGetSetDef *);
[79] Fix | Delete
PyAPI_FUNC(PyObject *) PyDescr_NewWrapper(PyTypeObject *,
[80] Fix | Delete
struct wrapperbase *, void *);
[81] Fix | Delete
#define PyDescr_IsData(d) (Py_TYPE(d)->tp_descr_set != NULL)
[82] Fix | Delete
[83] Fix | Delete
PyAPI_FUNC(PyObject *) PyDictProxy_New(PyObject *);
[84] Fix | Delete
PyAPI_FUNC(PyObject *) PyWrapper_New(PyObject *, PyObject *);
[85] Fix | Delete
[86] Fix | Delete
[87] Fix | Delete
PyAPI_DATA(PyTypeObject) PyProperty_Type;
[88] Fix | Delete
#ifdef __cplusplus
[89] Fix | Delete
}
[90] Fix | Delete
#endif
[91] Fix | Delete
#endif /* !Py_DESCROBJECT_H */
[92] Fix | Delete
[93] Fix | Delete
[94] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function