[Python-checkins] python/dist/src/Include pythonrun.h,2.54,2.55
loewis@users.sourceforge.net
loewis@users.sourceforge.net
2002年10月26日 07:39:11 -0700
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv26440/Include
Modified Files:
pythonrun.h
Log Message:
Patch #512981: Update readline input stream on sys.stdin/out change.
Index: pythonrun.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pythonrun.h,v
retrieving revision 2.54
retrieving revision 2.55
diff -C2 -d -r2.54 -r2.55
*** pythonrun.h 12 Aug 2002 13:06:35 -0000 2.54
--- pythonrun.h 26 Oct 2002 14:39:09 -0000 2.55
***************
*** 114,120 ****
/* Stuff with no proper home (yet) */
! PyAPI_FUNC(char *) PyOS_Readline(char *);
PyAPI_DATA(int) (*PyOS_InputHook)(void);
! PyAPI_DATA(char) *(*PyOS_ReadlineFunctionPointer)(char *);
/* Stack size, in "pointers" (so we get extra safety margins
--- 114,120 ----
/* Stuff with no proper home (yet) */
! PyAPI_FUNC(char *) PyOS_Readline(FILE *, FILE *, char *);
PyAPI_DATA(int) (*PyOS_InputHook)(void);
! PyAPI_DATA(char) *(*PyOS_ReadlineFunctionPointer)(FILE *, FILE *, char *);
/* Stack size, in "pointers" (so we get extra safety margins