/
githubmirror
/
os-python3.9
Обзор
Документация
Войти
/
githubmirror
/
os-python3.9
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
bullseye
Include/internal/pegen_interface.h
46 строк
953 B
Huw Jones
Imported Upstream version 3.9.2
21 мар 2022, 14:02
21 мар 2022, 14:02
0946962
Код
Авторство
О чём код?
#ifndef Py_PEGENINTERFACE #define Py_PEGENINTERFACE #ifdef __cplusplus extern "C" { #endif #ifndef Py_BUILD_CORE # error "this header requires Py_BUILD_CORE define" #endif #include "Python.h" #include "Python-ast.h" PyAPI_FUNC(mod_ty) PyPegen_ASTFromString( const char *str, const char *filename, int mode, PyCompilerFlags *flags, PyArena *arena); PyAPI_FUNC(mod_ty) PyPegen_ASTFromStringObject( const char *str, PyObject* filename, int mode, PyCompilerFlags *flags, PyArena *arena); PyAPI_FUNC(mod_ty) PyPegen_ASTFromFileObject( FILE *fp, PyObject *filename_ob, int mode, const char *enc, const char *ps1, const char *ps2, PyCompilerFlags *flags, int *errcode, PyArena *arena); PyAPI_FUNC(mod_ty) PyPegen_ASTFromFilename( const char *filename, int mode, PyCompilerFlags *flags, PyArena *arena); #ifdef __cplusplus } #endif #endif /* !Py_PEGENINTERFACE*/