summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2005-10-24 01:07:47 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2005-10-24 01:07:47 (GMT)
commit921fa8595ea3d67f657495783fc107a7a4d0ec86 (patch)
tree8821e7377fca2e0ddab124b4b1d123ba75431841
parent62c2fac9a0758f303c0382e459031a2679a056e2 (diff)
downloadcpython-921fa8595ea3d67f657495783fc107a7a4d0ec86.zip
cpython-921fa8595ea3d67f657495783fc107a7a4d0ec86.tar.gz
cpython-921fa8595ea3d67f657495783fc107a7a4d0ec86.tar.bz2
use PyAPI_FUNC instead of DL_IMPORT. are we going to deprecate the old non-Py PREFIXED macros, etc?
-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
}