Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/mingw32/Python27/include/compile.h @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:25:44 +0100 |
parents | 2a2c65a20a8b |
children |
rev | line source |
---|---|
Chris@87 | 1 |
Chris@87 | 2 #ifndef Py_COMPILE_H |
Chris@87 | 3 #define Py_COMPILE_H |
Chris@87 | 4 |
Chris@87 | 5 #include "code.h" |
Chris@87 | 6 |
Chris@87 | 7 #ifdef __cplusplus |
Chris@87 | 8 extern "C" { |
Chris@87 | 9 #endif |
Chris@87 | 10 |
Chris@87 | 11 /* Public interface */ |
Chris@87 | 12 struct _node; /* Declare the existence of this type */ |
Chris@87 | 13 PyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *, const char *); |
Chris@87 | 14 |
Chris@87 | 15 /* Future feature support */ |
Chris@87 | 16 |
Chris@87 | 17 typedef struct { |
Chris@87 | 18 int ff_features; /* flags set by future statements */ |
Chris@87 | 19 int ff_lineno; /* line number of last future statement */ |
Chris@87 | 20 } PyFutureFeatures; |
Chris@87 | 21 |
Chris@87 | 22 #define FUTURE_NESTED_SCOPES "nested_scopes" |
Chris@87 | 23 #define FUTURE_GENERATORS "generators" |
Chris@87 | 24 #define FUTURE_DIVISION "division" |
Chris@87 | 25 #define FUTURE_ABSOLUTE_IMPORT "absolute_import" |
Chris@87 | 26 #define FUTURE_WITH_STATEMENT "with_statement" |
Chris@87 | 27 #define FUTURE_PRINT_FUNCTION "print_function" |
Chris@87 | 28 #define FUTURE_UNICODE_LITERALS "unicode_literals" |
Chris@87 | 29 |
Chris@87 | 30 |
Chris@87 | 31 struct _mod; /* Declare the existence of this type */ |
Chris@87 | 32 PyAPI_FUNC(PyCodeObject *) PyAST_Compile(struct _mod *, const char *, |
Chris@87 | 33 PyCompilerFlags *, PyArena *); |
Chris@87 | 34 PyAPI_FUNC(PyFutureFeatures *) PyFuture_FromAST(struct _mod *, const char *); |
Chris@87 | 35 |
Chris@87 | 36 |
Chris@87 | 37 #ifdef __cplusplus |
Chris@87 | 38 } |
Chris@87 | 39 #endif |
Chris@87 | 40 #endif /* !Py_COMPILE_H */ |