[Python-checkins] python/dist/src/Include pythonrun.h,2.49.2.4,2.49.2.5
bcannon@users.sourceforge.net
bcannon@users.sourceforge.net
Fri, 25 Jul 2003 17:32:12 -0700
Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1:/tmp/cvs-serv9119/Include
Modified Files:
Tag: ast-branch
pythonrun.h
Log Message:
Remove two redundant macro definitions. They differed from their twins only
by having the first arg named f instead of fp. Done to remove compiler
warnings about the redefinition.
Index: pythonrun.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pythonrun.h,v
retrieving revision 2.49.2.4
retrieving revision 2.49.2.5
diff -C2 -d -r2.49.2.4 -r2.49.2.5
*** pythonrun.h 28 Apr 2003 17:32:49 -0000 2.49.2.4
--- pythonrun.h 26 Jul 2003 00:32:10 -0000 2.49.2.5
***************
*** 76,83 ****
/* Use macros for a bunch of old variants */
#define PyRun_String(str, s, g, l) PyRun_StringFlags(str, s, g, l, NULL)
- #define PyRun_FileEx(f, p, s, g, l, c) \
- PyRun_FileExFlags(f, p, s, g, l, c, NULL)
- #define PyRun_FileFlags(f, p, s, g, l, flags) \
- PyRun_FileExFlags(f, p, s, g, l, 0, flags)
#define PyRun_AnyFile(fp, name) PyRun_AnyFileExFlags(fp, name, 0, NULL)
#define PyRun_AnyFileEx(fp, name, closeit) \
--- 76,79 ----