File indexing completed on 2025-11-19 09:50:50
0001 #ifndef Py_INTERNAL_PYTHONRUN_H
0002 #define Py_INTERNAL_PYTHONRUN_H
0003 #ifdef __cplusplus
0004 extern "C" {
0005 #endif
0006
0007 #ifndef Py_BUILD_CORE
0008 # error "this header requires Py_BUILD_CORE define"
0009 #endif
0010
0011 extern int _PyRun_SimpleFileObject(
0012 FILE *fp,
0013 PyObject *filename,
0014 int closeit,
0015 PyCompilerFlags *flags);
0016
0017 extern int _PyRun_AnyFileObject(
0018 FILE *fp,
0019 PyObject *filename,
0020 int closeit,
0021 PyCompilerFlags *flags);
0022
0023 extern int _PyRun_InteractiveLoopObject(
0024 FILE *fp,
0025 PyObject *filename,
0026 PyCompilerFlags *flags);
0027
0028 extern const char* _Py_SourceAsString(
0029 PyObject *cmd,
0030 const char *funcname,
0031 const char *what,
0032 PyCompilerFlags *cf,
0033 PyObject **cmd_copy);
0034
0035 #ifdef __cplusplus
0036 }
0037 #endif
0038 #endif
0039