Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/python2....
File: frameobject.h
[0] Fix | Delete
/* Frame object interface */
[1] Fix | Delete
[2] Fix | Delete
#ifndef Py_FRAMEOBJECT_H
[3] Fix | Delete
#define Py_FRAMEOBJECT_H
[4] Fix | Delete
#ifdef __cplusplus
[5] Fix | Delete
extern "C" {
[6] Fix | Delete
#endif
[7] Fix | Delete
[8] Fix | Delete
typedef struct {
[9] Fix | Delete
int b_type; /* what kind of block this is */
[10] Fix | Delete
int b_handler; /* where to jump to find handler */
[11] Fix | Delete
int b_level; /* value stack level to pop to */
[12] Fix | Delete
} PyTryBlock;
[13] Fix | Delete
[14] Fix | Delete
typedef struct _frame {
[15] Fix | Delete
PyObject_VAR_HEAD
[16] Fix | Delete
struct _frame *f_back; /* previous frame, or NULL */
[17] Fix | Delete
PyCodeObject *f_code; /* code segment */
[18] Fix | Delete
PyObject *f_builtins; /* builtin symbol table (PyDictObject) */
[19] Fix | Delete
PyObject *f_globals; /* global symbol table (PyDictObject) */
[20] Fix | Delete
PyObject *f_locals; /* local symbol table (any mapping) */
[21] Fix | Delete
PyObject **f_valuestack; /* points after the last local */
[22] Fix | Delete
/* Next free slot in f_valuestack. Frame creation sets to f_valuestack.
[23] Fix | Delete
Frame evaluation usually NULLs it, but a frame that yields sets it
[24] Fix | Delete
to the current stack top. */
[25] Fix | Delete
PyObject **f_stacktop;
[26] Fix | Delete
PyObject *f_trace; /* Trace function */
[27] Fix | Delete
[28] Fix | Delete
/* If an exception is raised in this frame, the next three are used to
[29] Fix | Delete
* record the exception info (if any) originally in the thread state. See
[30] Fix | Delete
* comments before set_exc_info() -- it's not obvious.
[31] Fix | Delete
* Invariant: if _type is NULL, then so are _value and _traceback.
[32] Fix | Delete
* Desired invariant: all three are NULL, or all three are non-NULL. That
[33] Fix | Delete
* one isn't currently true, but "should be".
[34] Fix | Delete
*/
[35] Fix | Delete
PyObject *f_exc_type, *f_exc_value, *f_exc_traceback;
[36] Fix | Delete
[37] Fix | Delete
PyThreadState *f_tstate;
[38] Fix | Delete
int f_lasti; /* Last instruction if called */
[39] Fix | Delete
/* Call PyFrame_GetLineNumber() instead of reading this field
[40] Fix | Delete
directly. As of 2.3 f_lineno is only valid when tracing is
[41] Fix | Delete
active (i.e. when f_trace is set). At other times we use
[42] Fix | Delete
PyCode_Addr2Line to calculate the line from the current
[43] Fix | Delete
bytecode index. */
[44] Fix | Delete
int f_lineno; /* Current line number */
[45] Fix | Delete
int f_iblock; /* index in f_blockstack */
[46] Fix | Delete
PyTryBlock f_blockstack[CO_MAXBLOCKS]; /* for try and loop blocks */
[47] Fix | Delete
PyObject *f_localsplus[1]; /* locals+stack, dynamically sized */
[48] Fix | Delete
} PyFrameObject;
[49] Fix | Delete
[50] Fix | Delete
[51] Fix | Delete
/* Standard object interface */
[52] Fix | Delete
[53] Fix | Delete
PyAPI_DATA(PyTypeObject) PyFrame_Type;
[54] Fix | Delete
[55] Fix | Delete
#define PyFrame_Check(op) (Py_TYPE(op) == &PyFrame_Type)
[56] Fix | Delete
#define PyFrame_IsRestricted(f) \
[57] Fix | Delete
((f)->f_tstate && (f)->f_builtins != (f)->f_tstate->interp->builtins)
[58] Fix | Delete
[59] Fix | Delete
PyAPI_FUNC(PyFrameObject *) PyFrame_New(PyThreadState *, PyCodeObject *,
[60] Fix | Delete
PyObject *, PyObject *);
[61] Fix | Delete
[62] Fix | Delete
[63] Fix | Delete
/* The rest of the interface is specific for frame objects */
[64] Fix | Delete
[65] Fix | Delete
/* Block management functions */
[66] Fix | Delete
[67] Fix | Delete
PyAPI_FUNC(void) PyFrame_BlockSetup(PyFrameObject *, int, int, int);
[68] Fix | Delete
PyAPI_FUNC(PyTryBlock *) PyFrame_BlockPop(PyFrameObject *);
[69] Fix | Delete
[70] Fix | Delete
/* Extend the value stack */
[71] Fix | Delete
[72] Fix | Delete
PyAPI_FUNC(PyObject **) PyFrame_ExtendStack(PyFrameObject *, int, int);
[73] Fix | Delete
[74] Fix | Delete
/* Conversions between "fast locals" and locals in dictionary */
[75] Fix | Delete
[76] Fix | Delete
PyAPI_FUNC(void) PyFrame_LocalsToFast(PyFrameObject *, int);
[77] Fix | Delete
PyAPI_FUNC(void) PyFrame_FastToLocals(PyFrameObject *);
[78] Fix | Delete
[79] Fix | Delete
PyAPI_FUNC(int) PyFrame_ClearFreeList(void);
[80] Fix | Delete
[81] Fix | Delete
PyAPI_FUNC(void) _PyFrame_DebugMallocStats(FILE *out);
[82] Fix | Delete
[83] Fix | Delete
/* Return the line of code the frame is currently executing. */
[84] Fix | Delete
PyAPI_FUNC(int) PyFrame_GetLineNumber(PyFrameObject *);
[85] Fix | Delete
[86] Fix | Delete
#ifdef __cplusplus
[87] Fix | Delete
}
[88] Fix | Delete
#endif
[89] Fix | Delete
#endif /* !Py_FRAMEOBJECT_H */
[90] Fix | Delete
[91] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function