Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
pythonrun.h43 linesDownload Raw Back to include
1 2/* Interfaces to parse and execute pieces of python code */3 4#ifndef Py_PYTHONRUN_H5#define Py_PYTHONRUN_H6#ifdef __cplusplus7extern "C" {8#endif9 10PyAPI_FUNC(PyObject *) Py_CompileString(const char *, const char *, int);11 12PyAPI_FUNC(void) PyErr_Print(void);13PyAPI_FUNC(void) PyErr_PrintEx(int);14PyAPI_FUNC(void) PyErr_Display(PyObject *, PyObject *, PyObject *);15 16#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030C000017PyAPI_FUNC(void) PyErr_DisplayException(PyObject *);18#endif19 20 21/* Stuff with no proper home (yet) */22PyAPI_DATA(int) (*PyOS_InputHook)(void);23 24#if defined(WIN32)25#  define USE_STACKCHECK26#endif27#ifdef USE_STACKCHECK28/* Check that we aren't overflowing our stack */29PyAPI_FUNC(int) PyOS_CheckStack(void);30#endif31 32 33#ifndef Py_LIMITED_API34#  define Py_CPYTHON_PYTHONRUN_H35#  include "cpython/pythonrun.h"36#  undef Py_CPYTHON_PYTHONRUN_H37#endif38 39#ifdef __cplusplus40}41#endif42#endif /* !Py_PYTHONRUN_H */43 
codekingpro/portable-devtools · Team Ai