From: Neal Norwitz Date: Sun, 23 Oct 2005 19:06:02 +0000 (+0000) Subject: use PyAPI_FUNC instead of DL_IMPORT. are we going to deprecate the old non-Py PREFIX... X-Git-Tag: v2.5a0~1235 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=38eb50b227666e395015feb9b30280ef07f3299a;p=thirdparty%2FPython%2Fcpython.git use PyAPI_FUNC instead of DL_IMPORT. are we going to deprecate the old non-Py PREFIXED macros, etc? --- diff --git a/Include/compile.h b/Include/compile.h index 01fd75660288..5c6a7c766c78 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"