From: Neal Norwitz Date: Mon, 24 Oct 2005 01:07:47 +0000 (+0000) Subject: use PyAPI_FUNC instead of DL_IMPORT. are we going to deprecate the old non-Py PREFIX... X-Git-Tag: v2.5a0~1225 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=921fa8595ea3d67f657495783fc107a7a4d0ec86;p=python use PyAPI_FUNC instead of DL_IMPORT. are we going to deprecate the old non-Py PREFIXED macros, etc? --- diff --git a/Include/ast.h b/Include/ast.h index 8912f38034..b1a9388237 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 }