Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 921fa85

Browse files
committed
use PyAPI_FUNC instead of DL_IMPORT. are we going to deprecate the old non-Py PREFIXED macros, etc?
1 parent 62c2fac commit 921fa85

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Include/ast.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
extern "C" {
55
#endif
66

7-
extern DL_IMPORT(mod_ty) PyAST_FromNode(const node *, PyCompilerFlags *flags,
8-
const char *);
7+
PyAPI_FUNC(mod_ty) PyAST_FromNode(const node *, PyCompilerFlags *flags,
8+
const char *);
99

1010
#ifdef __cplusplus
1111
}

0 commit comments

Comments
 (0)