]> granicus.if.org Git - python/commitdiff
use PyAPI_FUNC instead of DL_IMPORT. are we going to deprecate the old non-Py PREFIX...
authorNeal Norwitz <nnorwitz@gmail.com>
Mon, 24 Oct 2005 01:07:47 +0000 (01:07 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Mon, 24 Oct 2005 01:07:47 +0000 (01:07 +0000)
Include/ast.h

index 8912f380344b40f6515091728743f5e93873b941..b1a938823744b7aa6ff5d6c30c77cff5cb3e8371 100644 (file)
@@ -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
 }