use PyAPI_FUNC instead of DL_IMPORT. are we going to deprecate the old non-Py PREFIXED macros, etc?

This commit is contained in:
Neal Norwitz 2005-10-24 01:07:47 +00:00
parent 62c2fac9a0
commit 921fa8595e
1 changed files with 2 additions and 2 deletions

View 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
}