Jeremy Hylton | 3e0055f | 2005-10-20 19:59:25 +0000 | [diff] [blame] | 1 | #ifndef Py_AST_H |
| 2 | #define Py_AST_H |
| 3 | #ifdef __cplusplus |
| 4 | extern "C" { |
| 5 | #endif |
| 6 | |
Benjamin Peterson | 832bfe2 | 2011-08-09 16:15:04 -0500 | [diff] [blame] | 7 | PyAPI_FUNC(int) PyAST_Validate(mod_ty); |
Victor Stinner | 00676d1 | 2010-12-27 01:49:31 +0000 | [diff] [blame] | 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); |
Jeremy Hylton | 3e0055f | 2005-10-20 19:59:25 +0000 | [diff] [blame] | 13 | |
| 14 | #ifdef __cplusplus |
| 15 | } |
| 16 | #endif |
| 17 | #endif /* !Py_AST_H */ |