diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2005-10-24 01:07:47 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2005-10-24 01:07:47 +0000 |
commit | 921fa8595ea3d67f657495783fc107a7a4d0ec86 (patch) | |
tree | 8821e7377fca2e0ddab124b4b1d123ba75431841 | |
parent | Do not pollute name block_ty, prefix with _Py_ (diff) | |
download | cpython-921fa8595ea3d67f657495783fc107a7a4d0ec86.tar.gz cpython-921fa8595ea3d67f657495783fc107a7a4d0ec86.tar.bz2 cpython-921fa8595ea3d67f657495783fc107a7a4d0ec86.zip |
use PyAPI_FUNC instead of DL_IMPORT. are we going to deprecate the old non-Py PREFIXED macros, etc?
-rw-r--r-- | Include/ast.h | 4 |
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 } |