[Python-checkins] python/dist/src/Include compile.h,2.43,2.44

nnorwitz@users.sourceforge.net nnorwitz at users.sourceforge.net
Sun Oct 23 21:06:05 CEST 2005


Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25576/Include

Modified Files:
	compile.h 
Log Message:
use PyAPI_FUNC instead of DL_IMPORT.  are we going to deprecate the old non-Py PREFIXED macros, etc?

Index: compile.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/compile.h,v
retrieving revision 2.43
retrieving revision 2.44
diff -u -d -r2.43 -r2.44
--- compile.h	21 Oct 2005 14:58:06 -0000	2.43
+++ compile.h	23 Oct 2005 19:06:02 -0000	2.44
@@ -24,9 +24,9 @@
 #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"



More information about the Python-checkins mailing list