Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/python3....
File: pylifecycle.h
[0] Fix | Delete
/* Interfaces to configure, query, create & destroy the Python runtime */
[1] Fix | Delete
[2] Fix | Delete
#ifndef Py_PYLIFECYCLE_H
[3] Fix | Delete
#define Py_PYLIFECYCLE_H
[4] Fix | Delete
#ifdef __cplusplus
[5] Fix | Delete
extern "C" {
[6] Fix | Delete
#endif
[7] Fix | Delete
[8] Fix | Delete
PyAPI_FUNC(void) Py_SetProgramName(wchar_t *);
[9] Fix | Delete
PyAPI_FUNC(wchar_t *) Py_GetProgramName(void);
[10] Fix | Delete
[11] Fix | Delete
PyAPI_FUNC(void) Py_SetPythonHome(wchar_t *);
[12] Fix | Delete
PyAPI_FUNC(wchar_t *) Py_GetPythonHome(void);
[13] Fix | Delete
[14] Fix | Delete
#ifndef Py_LIMITED_API
[15] Fix | Delete
/* Only used by applications that embed the interpreter and need to
[16] Fix | Delete
* override the standard encoding determination mechanism
[17] Fix | Delete
*/
[18] Fix | Delete
PyAPI_FUNC(int) Py_SetStandardStreamEncoding(const char *encoding,
[19] Fix | Delete
const char *errors);
[20] Fix | Delete
#endif
[21] Fix | Delete
[22] Fix | Delete
PyAPI_FUNC(void) Py_Initialize(void);
[23] Fix | Delete
PyAPI_FUNC(void) Py_InitializeEx(int);
[24] Fix | Delete
#ifndef Py_LIMITED_API
[25] Fix | Delete
PyAPI_FUNC(void) _Py_InitializeEx_Private(int, int);
[26] Fix | Delete
#endif
[27] Fix | Delete
PyAPI_FUNC(void) Py_Finalize(void);
[28] Fix | Delete
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03060000
[29] Fix | Delete
PyAPI_FUNC(int) Py_FinalizeEx(void);
[30] Fix | Delete
#endif
[31] Fix | Delete
PyAPI_FUNC(int) Py_IsInitialized(void);
[32] Fix | Delete
PyAPI_FUNC(PyThreadState *) Py_NewInterpreter(void);
[33] Fix | Delete
PyAPI_FUNC(void) Py_EndInterpreter(PyThreadState *);
[34] Fix | Delete
[35] Fix | Delete
[36] Fix | Delete
/* Py_PyAtExit is for the atexit module, Py_AtExit is for low-level
[37] Fix | Delete
* exit functions.
[38] Fix | Delete
*/
[39] Fix | Delete
#ifndef Py_LIMITED_API
[40] Fix | Delete
PyAPI_FUNC(void) _Py_PyAtExit(void (*func)(void));
[41] Fix | Delete
#endif
[42] Fix | Delete
PyAPI_FUNC(int) Py_AtExit(void (*func)(void));
[43] Fix | Delete
[44] Fix | Delete
PyAPI_FUNC(void) Py_Exit(int);
[45] Fix | Delete
[46] Fix | Delete
/* Restore signals that the interpreter has called SIG_IGN on to SIG_DFL. */
[47] Fix | Delete
#ifndef Py_LIMITED_API
[48] Fix | Delete
PyAPI_FUNC(void) _Py_RestoreSignals(void);
[49] Fix | Delete
[50] Fix | Delete
PyAPI_FUNC(int) Py_FdIsInteractive(FILE *, const char *);
[51] Fix | Delete
#endif
[52] Fix | Delete
[53] Fix | Delete
/* Bootstrap __main__ (defined in Modules/main.c) */
[54] Fix | Delete
PyAPI_FUNC(int) Py_Main(int argc, wchar_t **argv);
[55] Fix | Delete
[56] Fix | Delete
/* In getpath.c */
[57] Fix | Delete
PyAPI_FUNC(wchar_t *) Py_GetProgramFullPath(void);
[58] Fix | Delete
PyAPI_FUNC(wchar_t *) Py_GetPrefix(void);
[59] Fix | Delete
PyAPI_FUNC(wchar_t *) Py_GetExecPrefix(void);
[60] Fix | Delete
PyAPI_FUNC(wchar_t *) Py_GetPath(void);
[61] Fix | Delete
PyAPI_FUNC(void) Py_SetPath(const wchar_t *);
[62] Fix | Delete
#ifdef MS_WINDOWS
[63] Fix | Delete
int _Py_CheckPython3();
[64] Fix | Delete
#endif
[65] Fix | Delete
[66] Fix | Delete
/* In their own files */
[67] Fix | Delete
PyAPI_FUNC(const char *) Py_GetVersion(void);
[68] Fix | Delete
PyAPI_FUNC(const char *) Py_GetPlatform(void);
[69] Fix | Delete
PyAPI_FUNC(const char *) Py_GetCopyright(void);
[70] Fix | Delete
PyAPI_FUNC(const char *) Py_GetCompiler(void);
[71] Fix | Delete
PyAPI_FUNC(const char *) Py_GetBuildInfo(void);
[72] Fix | Delete
#ifndef Py_LIMITED_API
[73] Fix | Delete
PyAPI_FUNC(const char *) _Py_gitidentifier(void);
[74] Fix | Delete
PyAPI_FUNC(const char *) _Py_gitversion(void);
[75] Fix | Delete
#endif
[76] Fix | Delete
[77] Fix | Delete
/* Internal -- various one-time initializations */
[78] Fix | Delete
#ifndef Py_LIMITED_API
[79] Fix | Delete
PyAPI_FUNC(PyObject *) _PyBuiltin_Init(void);
[80] Fix | Delete
PyAPI_FUNC(PyObject *) _PySys_Init(void);
[81] Fix | Delete
PyAPI_FUNC(void) _PyImport_Init(void);
[82] Fix | Delete
PyAPI_FUNC(void) _PyExc_Init(PyObject * bltinmod);
[83] Fix | Delete
PyAPI_FUNC(void) _PyImportHooks_Init(void);
[84] Fix | Delete
PyAPI_FUNC(int) _PyFrame_Init(void);
[85] Fix | Delete
PyAPI_FUNC(int) _PyFloat_Init(void);
[86] Fix | Delete
PyAPI_FUNC(int) PyByteArray_Init(void);
[87] Fix | Delete
PyAPI_FUNC(void) _PyRandom_Init(void);
[88] Fix | Delete
#endif
[89] Fix | Delete
[90] Fix | Delete
/* Various internal finalizers */
[91] Fix | Delete
#ifndef Py_LIMITED_API
[92] Fix | Delete
PyAPI_FUNC(void) _PyExc_Fini(void);
[93] Fix | Delete
PyAPI_FUNC(void) _PyImport_Fini(void);
[94] Fix | Delete
PyAPI_FUNC(void) PyMethod_Fini(void);
[95] Fix | Delete
PyAPI_FUNC(void) PyFrame_Fini(void);
[96] Fix | Delete
PyAPI_FUNC(void) PyCFunction_Fini(void);
[97] Fix | Delete
PyAPI_FUNC(void) PyDict_Fini(void);
[98] Fix | Delete
PyAPI_FUNC(void) PyTuple_Fini(void);
[99] Fix | Delete
PyAPI_FUNC(void) PyList_Fini(void);
[100] Fix | Delete
PyAPI_FUNC(void) PySet_Fini(void);
[101] Fix | Delete
PyAPI_FUNC(void) PyBytes_Fini(void);
[102] Fix | Delete
PyAPI_FUNC(void) PyByteArray_Fini(void);
[103] Fix | Delete
PyAPI_FUNC(void) PyFloat_Fini(void);
[104] Fix | Delete
PyAPI_FUNC(void) PyOS_FiniInterrupts(void);
[105] Fix | Delete
PyAPI_FUNC(void) _PyGC_DumpShutdownStats(void);
[106] Fix | Delete
PyAPI_FUNC(void) _PyGC_Fini(void);
[107] Fix | Delete
PyAPI_FUNC(void) PySlice_Fini(void);
[108] Fix | Delete
PyAPI_FUNC(void) _PyType_Fini(void);
[109] Fix | Delete
PyAPI_FUNC(void) _PyRandom_Fini(void);
[110] Fix | Delete
PyAPI_FUNC(void) PyAsyncGen_Fini(void);
[111] Fix | Delete
[112] Fix | Delete
PyAPI_DATA(PyThreadState *) _Py_Finalizing;
[113] Fix | Delete
#endif
[114] Fix | Delete
[115] Fix | Delete
/* Signals */
[116] Fix | Delete
typedef void (*PyOS_sighandler_t)(int);
[117] Fix | Delete
PyAPI_FUNC(PyOS_sighandler_t) PyOS_getsig(int);
[118] Fix | Delete
PyAPI_FUNC(PyOS_sighandler_t) PyOS_setsig(int, PyOS_sighandler_t);
[119] Fix | Delete
[120] Fix | Delete
#ifndef Py_LIMITED_API
[121] Fix | Delete
/* Random */
[122] Fix | Delete
PyAPI_FUNC(int) _PyOS_URandom(void *buffer, Py_ssize_t size);
[123] Fix | Delete
PyAPI_FUNC(int) _PyOS_URandomNonblock(void *buffer, Py_ssize_t size);
[124] Fix | Delete
#endif /* !Py_LIMITED_API */
[125] Fix | Delete
[126] Fix | Delete
#ifdef __cplusplus
[127] Fix | Delete
}
[128] Fix | Delete
#endif
[129] Fix | Delete
#endif /* !Py_PYLIFECYCLE_H */
[130] Fix | Delete
[131] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function