summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2005-10-23 19:06:02 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2005-10-23 19:06:02 (GMT)
commit38eb50b227666e395015feb9b30280ef07f3299a (patch)
tree8fb66928b850cdcbfd1c82514b79dbfca3fdb922 /Include
parenta34584be3b9f0177fccd4bd3705a83b0418e7a1c (diff)
downloadcpython-38eb50b227666e395015feb9b30280ef07f3299a.zip
cpython-38eb50b227666e395015feb9b30280ef07f3299a.tar.gz
cpython-38eb50b227666e395015feb9b30280ef07f3299a.tar.bz2
use PyAPI_FUNC instead of DL_IMPORT. are we going to deprecate the old non-Py PREFIXED macros, etc?
Diffstat (limited to 'Include')
-rw-r--r--Include/compile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/compile.h b/Include/compile.h
index 01fd756..5c6a7c7 100644
--- a/Include/compile.h
+++ b/Include/compile.h
@@ -24,9 +24,9 @@ typedef struct {
#define FUTURE_DIVISION "division"
struct _mod; /* Declare the existence of this type */
-DL_IMPORT(PyCodeObject *) PyAST_Compile(struct _mod *, const char *,
+PyAPI_FUNC(PyCodeObject *) PyAST_Compile(struct _mod *, const char *,
PyCompilerFlags *);
-DL_IMPORT(PyFutureFeatures *) PyFuture_FromAST(struct _mod *, const char *);
+PyAPI_FUNC(PyFutureFeatures *) PyFuture_FromAST(struct _mod *, const char *);
#define ERR_LATE_FUTURE \
"from __future__ imports must occur at the beginning of the file"