1 #ifndef Py_AST_H 2 #define Py_AST_H 3 #ifdef __cplusplus 4 extern "C" { 5 #endif 6 7 PyAPI_FUNC(int) PyAST_Validate(mod_ty); 8 PyAPI_FUNC(mod_ty) PyAST_FromNode( 9 const node *n, 10 PyCompilerFlags *flags, 11 const char *filename, /* decoded from the filesystem encoding */ 12 PyArena *arena); 13 PyAPI_FUNC(mod_ty) PyAST_FromNodeObject( 14 const node *n, 15 PyCompilerFlags *flags, 16 PyObject *filename, 17 PyArena *arena); 18 19 #ifdef __cplusplus 20 } 21 #endif 22 #endif /* !Py_AST_H */ 23