aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Include/ast.h')
-rw-r--r--Include/ast.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/ast.h b/Include/ast.h
index 8912f380344..b1a93882374 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
}