Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 38eb50b

Browse filesBrowse files
committed
use PyAPI_FUNC instead of DL_IMPORT. are we going to deprecate the old non-Py PREFIXED macros, etc?
1 parent a34584b commit 38eb50b
Copy full SHA for 38eb50b

1 file changed

+2-2Lines changed: 2 additions & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Include/compile.h‎

Copy file name to clipboardExpand all lines: Include/compile.h
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ typedef struct {
2424
#define FUTURE_DIVISION "division"
2525

2626
struct _mod; /* Declare the existence of this type */
27-
DL_IMPORT(PyCodeObject *) PyAST_Compile(struct _mod *, const char *,
27+
PyAPI_FUNC(PyCodeObject *) PyAST_Compile(struct _mod *, const char *,
2828
PyCompilerFlags *);
29-
DL_IMPORT(PyFutureFeatures *) PyFuture_FromAST(struct _mod *, const char *);
29+
PyAPI_FUNC(PyFutureFeatures *) PyFuture_FromAST(struct _mod *, const char *);
3030

3131
#define ERR_LATE_FUTURE \
3232
"from __future__ imports must occur at the beginning of the file"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.