Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/python2....
File: pythonrun.h
[0] Fix | Delete
/* Interfaces to parse and execute pieces of python code */
[1] Fix | Delete
[2] Fix | Delete
#ifndef Py_PYTHONRUN_H
[3] Fix | Delete
#define Py_PYTHONRUN_H
[4] Fix | Delete
#ifdef __cplusplus
[5] Fix | Delete
extern "C" {
[6] Fix | Delete
#endif
[7] Fix | Delete
[8] Fix | Delete
#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
[9] Fix | Delete
CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
[10] Fix | Delete
CO_FUTURE_UNICODE_LITERALS)
[11] Fix | Delete
#define PyCF_MASK_OBSOLETE (CO_NESTED)
[12] Fix | Delete
#define PyCF_SOURCE_IS_UTF8 0x0100
[13] Fix | Delete
#define PyCF_DONT_IMPLY_DEDENT 0x0200
[14] Fix | Delete
#define PyCF_ONLY_AST 0x0400
[15] Fix | Delete
[16] Fix | Delete
typedef struct {
[17] Fix | Delete
int cf_flags; /* bitmask of CO_xxx flags relevant to future */
[18] Fix | Delete
} PyCompilerFlags;
[19] Fix | Delete
[20] Fix | Delete
PyAPI_FUNC(void) Py_SetProgramName(char *);
[21] Fix | Delete
PyAPI_FUNC(char *) Py_GetProgramName(void);
[22] Fix | Delete
[23] Fix | Delete
PyAPI_FUNC(void) Py_SetPythonHome(char *);
[24] Fix | Delete
PyAPI_FUNC(char *) Py_GetPythonHome(void);
[25] Fix | Delete
[26] Fix | Delete
PyAPI_FUNC(void) Py_Initialize(void);
[27] Fix | Delete
PyAPI_FUNC(void) Py_InitializeEx(int);
[28] Fix | Delete
PyAPI_FUNC(void) Py_Finalize(void);
[29] Fix | Delete
PyAPI_FUNC(int) Py_IsInitialized(void);
[30] Fix | Delete
PyAPI_FUNC(PyThreadState *) Py_NewInterpreter(void);
[31] Fix | Delete
PyAPI_FUNC(void) Py_EndInterpreter(PyThreadState *);
[32] Fix | Delete
[33] Fix | Delete
PyAPI_FUNC(int) PyRun_AnyFileFlags(FILE *, const char *, PyCompilerFlags *);
[34] Fix | Delete
PyAPI_FUNC(int) PyRun_AnyFileExFlags(FILE *, const char *, int, PyCompilerFlags *);
[35] Fix | Delete
PyAPI_FUNC(int) PyRun_SimpleStringFlags(const char *, PyCompilerFlags *);
[36] Fix | Delete
PyAPI_FUNC(int) PyRun_SimpleFileExFlags(FILE *, const char *, int, PyCompilerFlags *);
[37] Fix | Delete
PyAPI_FUNC(int) PyRun_InteractiveOneFlags(FILE *, const char *, PyCompilerFlags *);
[38] Fix | Delete
PyAPI_FUNC(int) PyRun_InteractiveLoopFlags(FILE *, const char *, PyCompilerFlags *);
[39] Fix | Delete
[40] Fix | Delete
PyAPI_FUNC(struct _mod *) PyParser_ASTFromString(const char *, const char *,
[41] Fix | Delete
int, PyCompilerFlags *flags,
[42] Fix | Delete
PyArena *);
[43] Fix | Delete
PyAPI_FUNC(struct _mod *) PyParser_ASTFromFile(FILE *, const char *, int,
[44] Fix | Delete
char *, char *,
[45] Fix | Delete
PyCompilerFlags *, int *,
[46] Fix | Delete
PyArena *);
[47] Fix | Delete
#define PyParser_SimpleParseString(S, B) \
[48] Fix | Delete
PyParser_SimpleParseStringFlags(S, B, 0)
[49] Fix | Delete
#define PyParser_SimpleParseFile(FP, S, B) \
[50] Fix | Delete
PyParser_SimpleParseFileFlags(FP, S, B, 0)
[51] Fix | Delete
PyAPI_FUNC(struct _node *) PyParser_SimpleParseStringFlags(const char *, int,
[52] Fix | Delete
int);
[53] Fix | Delete
PyAPI_FUNC(struct _node *) PyParser_SimpleParseFileFlags(FILE *, const char *,
[54] Fix | Delete
int, int);
[55] Fix | Delete
[56] Fix | Delete
PyAPI_FUNC(PyObject *) PyRun_StringFlags(const char *, int, PyObject *,
[57] Fix | Delete
PyObject *, PyCompilerFlags *);
[58] Fix | Delete
[59] Fix | Delete
PyAPI_FUNC(PyObject *) PyRun_FileExFlags(FILE *, const char *, int,
[60] Fix | Delete
PyObject *, PyObject *, int,
[61] Fix | Delete
PyCompilerFlags *);
[62] Fix | Delete
[63] Fix | Delete
#define Py_CompileString(str, p, s) Py_CompileStringFlags(str, p, s, NULL)
[64] Fix | Delete
PyAPI_FUNC(PyObject *) Py_CompileStringFlags(const char *, const char *, int,
[65] Fix | Delete
PyCompilerFlags *);
[66] Fix | Delete
PyAPI_FUNC(struct symtable *) Py_SymtableString(const char *, const char *, int);
[67] Fix | Delete
[68] Fix | Delete
PyAPI_FUNC(void) PyErr_Print(void);
[69] Fix | Delete
PyAPI_FUNC(void) PyErr_PrintEx(int);
[70] Fix | Delete
PyAPI_FUNC(void) PyErr_Display(PyObject *, PyObject *, PyObject *);
[71] Fix | Delete
[72] Fix | Delete
PyAPI_FUNC(int) Py_AtExit(void (*func)(void));
[73] Fix | Delete
[74] Fix | Delete
PyAPI_FUNC(void) Py_Exit(int);
[75] Fix | Delete
[76] Fix | Delete
PyAPI_FUNC(int) Py_FdIsInteractive(FILE *, const char *);
[77] Fix | Delete
[78] Fix | Delete
/* Bootstrap */
[79] Fix | Delete
PyAPI_FUNC(int) Py_Main(int argc, char **argv);
[80] Fix | Delete
[81] Fix | Delete
/* Use macros for a bunch of old variants */
[82] Fix | Delete
#define PyRun_String(str, s, g, l) PyRun_StringFlags(str, s, g, l, NULL)
[83] Fix | Delete
#define PyRun_AnyFile(fp, name) PyRun_AnyFileExFlags(fp, name, 0, NULL)
[84] Fix | Delete
#define PyRun_AnyFileEx(fp, name, closeit) \
[85] Fix | Delete
PyRun_AnyFileExFlags(fp, name, closeit, NULL)
[86] Fix | Delete
#define PyRun_AnyFileFlags(fp, name, flags) \
[87] Fix | Delete
PyRun_AnyFileExFlags(fp, name, 0, flags)
[88] Fix | Delete
#define PyRun_SimpleString(s) PyRun_SimpleStringFlags(s, NULL)
[89] Fix | Delete
#define PyRun_SimpleFile(f, p) PyRun_SimpleFileExFlags(f, p, 0, NULL)
[90] Fix | Delete
#define PyRun_SimpleFileEx(f, p, c) PyRun_SimpleFileExFlags(f, p, c, NULL)
[91] Fix | Delete
#define PyRun_InteractiveOne(f, p) PyRun_InteractiveOneFlags(f, p, NULL)
[92] Fix | Delete
#define PyRun_InteractiveLoop(f, p) PyRun_InteractiveLoopFlags(f, p, NULL)
[93] Fix | Delete
#define PyRun_File(fp, p, s, g, l) \
[94] Fix | Delete
PyRun_FileExFlags(fp, p, s, g, l, 0, NULL)
[95] Fix | Delete
#define PyRun_FileEx(fp, p, s, g, l, c) \
[96] Fix | Delete
PyRun_FileExFlags(fp, p, s, g, l, c, NULL)
[97] Fix | Delete
#define PyRun_FileFlags(fp, p, s, g, l, flags) \
[98] Fix | Delete
PyRun_FileExFlags(fp, p, s, g, l, 0, flags)
[99] Fix | Delete
[100] Fix | Delete
/* In getpath.c */
[101] Fix | Delete
PyAPI_FUNC(char *) Py_GetProgramFullPath(void);
[102] Fix | Delete
PyAPI_FUNC(char *) Py_GetPrefix(void);
[103] Fix | Delete
PyAPI_FUNC(char *) Py_GetExecPrefix(void);
[104] Fix | Delete
PyAPI_FUNC(char *) Py_GetPath(void);
[105] Fix | Delete
[106] Fix | Delete
/* In their own files */
[107] Fix | Delete
PyAPI_FUNC(const char *) Py_GetVersion(void);
[108] Fix | Delete
PyAPI_FUNC(const char *) Py_GetPlatform(void);
[109] Fix | Delete
PyAPI_FUNC(const char *) Py_GetCopyright(void);
[110] Fix | Delete
PyAPI_FUNC(const char *) Py_GetCompiler(void);
[111] Fix | Delete
PyAPI_FUNC(const char *) Py_GetBuildInfo(void);
[112] Fix | Delete
PyAPI_FUNC(const char *) Py_SubversionRevision(void);
[113] Fix | Delete
PyAPI_FUNC(const char *) Py_SubversionShortBranch(void);
[114] Fix | Delete
PyAPI_FUNC(const char *) _Py_gitidentifier(void);
[115] Fix | Delete
PyAPI_FUNC(const char *) _Py_gitversion(void);
[116] Fix | Delete
[117] Fix | Delete
/* Internal -- various one-time initializations */
[118] Fix | Delete
PyAPI_FUNC(PyObject *) _PyBuiltin_Init(void);
[119] Fix | Delete
PyAPI_FUNC(PyObject *) _PySys_Init(void);
[120] Fix | Delete
PyAPI_FUNC(void) _PyImport_Init(void);
[121] Fix | Delete
PyAPI_FUNC(void) _PyExc_Init(void);
[122] Fix | Delete
PyAPI_FUNC(void) _PyImportHooks_Init(void);
[123] Fix | Delete
PyAPI_FUNC(int) _PyFrame_Init(void);
[124] Fix | Delete
PyAPI_FUNC(int) _PyInt_Init(void);
[125] Fix | Delete
PyAPI_FUNC(int) _PyLong_Init(void);
[126] Fix | Delete
PyAPI_FUNC(void) _PyFloat_Init(void);
[127] Fix | Delete
PyAPI_FUNC(int) PyByteArray_Init(void);
[128] Fix | Delete
PyAPI_FUNC(void) _PyRandom_Init(void);
[129] Fix | Delete
[130] Fix | Delete
/* Various internal finalizers */
[131] Fix | Delete
PyAPI_FUNC(void) _PyExc_Fini(void);
[132] Fix | Delete
PyAPI_FUNC(void) _PyImport_Fini(void);
[133] Fix | Delete
PyAPI_FUNC(void) PyMethod_Fini(void);
[134] Fix | Delete
PyAPI_FUNC(void) PyFrame_Fini(void);
[135] Fix | Delete
PyAPI_FUNC(void) PyCFunction_Fini(void);
[136] Fix | Delete
PyAPI_FUNC(void) PyDict_Fini(void);
[137] Fix | Delete
PyAPI_FUNC(void) PyTuple_Fini(void);
[138] Fix | Delete
PyAPI_FUNC(void) PyList_Fini(void);
[139] Fix | Delete
PyAPI_FUNC(void) PySet_Fini(void);
[140] Fix | Delete
PyAPI_FUNC(void) PyString_Fini(void);
[141] Fix | Delete
PyAPI_FUNC(void) PyInt_Fini(void);
[142] Fix | Delete
PyAPI_FUNC(void) PyFloat_Fini(void);
[143] Fix | Delete
PyAPI_FUNC(void) PyOS_FiniInterrupts(void);
[144] Fix | Delete
PyAPI_FUNC(void) PyByteArray_Fini(void);
[145] Fix | Delete
PyAPI_FUNC(void) _PyRandom_Fini(void);
[146] Fix | Delete
[147] Fix | Delete
/* Stuff with no proper home (yet) */
[148] Fix | Delete
PyAPI_FUNC(char *) PyOS_Readline(FILE *, FILE *, char *);
[149] Fix | Delete
PyAPI_DATA(int) (*PyOS_InputHook)(void);
[150] Fix | Delete
PyAPI_DATA(char) *(*PyOS_ReadlineFunctionPointer)(FILE *, FILE *, char *);
[151] Fix | Delete
PyAPI_DATA(PyThreadState*) _PyOS_ReadlineTState;
[152] Fix | Delete
[153] Fix | Delete
/* Stack size, in "pointers" (so we get extra safety margins
[154] Fix | Delete
on 64-bit platforms). On a 32-bit platform, this translates
[155] Fix | Delete
to an 8k margin. */
[156] Fix | Delete
#define PYOS_STACK_MARGIN 2048
[157] Fix | Delete
[158] Fix | Delete
#if defined(WIN32) && !defined(MS_WIN64) && defined(_MSC_VER) && _MSC_VER >= 1300
[159] Fix | Delete
/* Enable stack checking under Microsoft C */
[160] Fix | Delete
#define USE_STACKCHECK
[161] Fix | Delete
#endif
[162] Fix | Delete
[163] Fix | Delete
#ifdef USE_STACKCHECK
[164] Fix | Delete
/* Check that we aren't overflowing our stack */
[165] Fix | Delete
PyAPI_FUNC(int) PyOS_CheckStack(void);
[166] Fix | Delete
#endif
[167] Fix | Delete
[168] Fix | Delete
/* Signals */
[169] Fix | Delete
typedef void (*PyOS_sighandler_t)(int);
[170] Fix | Delete
PyAPI_FUNC(PyOS_sighandler_t) PyOS_getsig(int);
[171] Fix | Delete
PyAPI_FUNC(PyOS_sighandler_t) PyOS_setsig(int, PyOS_sighandler_t);
[172] Fix | Delete
[173] Fix | Delete
/* Random */
[174] Fix | Delete
PyAPI_FUNC(int) _PyOS_URandom (void *buffer, Py_ssize_t size);
[175] Fix | Delete
[176] Fix | Delete
#ifdef __cplusplus
[177] Fix | Delete
}
[178] Fix | Delete
#endif
[179] Fix | Delete
#endif /* !Py_PYTHONRUN_H */
[180] Fix | Delete
[181] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function