File indexing completed on 2025-01-18 10:06:50
0001
0002
0003
0004 #ifndef Py_PYTHONRUN_H
0005 #define Py_PYTHONRUN_H
0006 #ifdef __cplusplus
0007 extern "C" {
0008 #endif
0009
0010 PyAPI_FUNC(PyObject *) Py_CompileString(const char *, const char *, int);
0011
0012 PyAPI_FUNC(void) PyErr_Print(void);
0013 PyAPI_FUNC(void) PyErr_PrintEx(int);
0014 PyAPI_FUNC(void) PyErr_Display(PyObject *, PyObject *, PyObject *);
0015
0016 #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030C0000
0017 PyAPI_FUNC(void) PyErr_DisplayException(PyObject *);
0018 #endif
0019
0020
0021
0022 PyAPI_DATA(int) (*PyOS_InputHook)(void);
0023
0024
0025
0026
0027 #define PYOS_STACK_MARGIN 2048
0028
0029 #if defined(WIN32) && !defined(MS_WIN64) && !defined(_M_ARM) && defined(_MSC_VER) && _MSC_VER >= 1300
0030
0031
0032 #define USE_STACKCHECK
0033 #endif
0034
0035 #ifdef USE_STACKCHECK
0036
0037 PyAPI_FUNC(int) PyOS_CheckStack(void);
0038 #endif
0039
0040 #ifndef Py_LIMITED_API
0041 # define Py_CPYTHON_PYTHONRUN_H
0042 # include "cpython/pythonrun.h"
0043 # undef Py_CPYTHON_PYTHONRUN_H
0044 #endif
0045
0046 #ifdef __cplusplus
0047 }
0048 #endif
0049 #endif