summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Include/ast.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/ast.h b/Include/ast.h
index 8912f38..b1a9388 100644
--- a/Include/ast.h
+++ b/Include/ast.h
@@ -4,8 +4,8 @@
extern "C" {
#endif
-extern DL_IMPORT(mod_ty) PyAST_FromNode(const node *, PyCompilerFlags *flags,
- const char *);
+PyAPI_FUNC(mod_ty) PyAST_FromNode(const node *, PyCompilerFlags *flags,
+ const char *);
#ifdef __cplusplus
}