From 921fa8595ea3d67f657495783fc107a7a4d0ec86 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Mon, 24 Oct 2005 01:07:47 +0000 Subject: [PATCH] use PyAPI_FUNC instead of DL_IMPORT. are we going to deprecate the old non-Py PREFIXED macros, etc? --- Include/ast.h | 4 ++-- 1 file 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 }