| OLD | NEW |
| 1 | 1 |
| 2 #ifndef Py_COMPILE_H | 2 #ifndef Py_COMPILE_H |
| 3 #define Py_COMPILE_H | 3 #define Py_COMPILE_H |
| 4 | 4 |
| 5 #include "code.h" | 5 #include "code.h" |
| 6 | 6 |
| 7 #ifdef __cplusplus | 7 #ifdef __cplusplus |
| 8 extern "C" { | 8 extern "C" { |
| 9 #endif | 9 #endif |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #define FUTURE_NESTED_SCOPES "nested_scopes" | 22 #define FUTURE_NESTED_SCOPES "nested_scopes" |
| 23 #define FUTURE_GENERATORS "generators" | 23 #define FUTURE_GENERATORS "generators" |
| 24 #define FUTURE_DIVISION "division" | 24 #define FUTURE_DIVISION "division" |
| 25 #define FUTURE_ABSOLUTE_IMPORT "absolute_import" | 25 #define FUTURE_ABSOLUTE_IMPORT "absolute_import" |
| 26 #define FUTURE_WITH_STATEMENT "with_statement" | 26 #define FUTURE_WITH_STATEMENT "with_statement" |
| 27 #define FUTURE_PRINT_FUNCTION "print_function" | 27 #define FUTURE_PRINT_FUNCTION "print_function" |
| 28 #define FUTURE_UNICODE_LITERALS "unicode_literals" | 28 #define FUTURE_UNICODE_LITERALS "unicode_literals" |
| 29 #define FUTURE_BARRY_AS_BDFL "barry_as_FLUFL" | 29 #define FUTURE_BARRY_AS_BDFL "barry_as_FLUFL" |
| 30 | 30 |
| 31 struct _mod; /* Declare the existence of this type */ | 31 struct _mod; /* Declare the existence of this type */ |
| 32 PyAPI_FUNC(PyCodeObject *) PyAST_Compile(struct _mod *, const char *, | 32 #define PyAST_Compile(mod, s, f, ar) PyAST_CompileEx(mod, s, f, -1, ar) |
| 33 » » » » » PyCompilerFlags *, PyArena *); | 33 PyAPI_FUNC(PyCodeObject *) PyAST_CompileEx(struct _mod *, const char *, |
| 34 » » » » » PyCompilerFlags *, int, PyArena *); |
| 34 PyAPI_FUNC(PyFutureFeatures *) PyFuture_FromAST(struct _mod *, const char *); | 35 PyAPI_FUNC(PyFutureFeatures *) PyFuture_FromAST(struct _mod *, const char *); |
| 35 | 36 |
| 36 | 37 |
| 37 #ifdef __cplusplus | 38 #ifdef __cplusplus |
| 38 } | 39 } |
| 39 #endif | 40 #endif |
| 40 #endif /* !Py_COMPILE_H */ | 41 #endif /* !Py_COMPILE_H */ |
| OLD | NEW |