We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a34584b commit 38eb50bCopy full SHA for 38eb50b
1 file changed
Include/compile.h
@@ -24,9 +24,9 @@ typedef struct {
24
#define FUTURE_DIVISION "division"
25
26
struct _mod; /* Declare the existence of this type */
27
-DL_IMPORT(PyCodeObject *) PyAST_Compile(struct _mod *, const char *,
+PyAPI_FUNC(PyCodeObject *) PyAST_Compile(struct _mod *, const char *,
28
PyCompilerFlags *);
29
-DL_IMPORT(PyFutureFeatures *) PyFuture_FromAST(struct _mod *, const char *);
+PyAPI_FUNC(PyFutureFeatures *) PyFuture_FromAST(struct _mod *, const char *);
30
31
#define ERR_LATE_FUTURE \
32
"from __future__ imports must occur at the beginning of the file"
0 commit comments