Mercurial > cpython-lru_cache-weakref
diff Include/pythonrun.h @ 25924:dc4a0336a2a3 legacy-trunk
Patch #512981: Update readline input stream on sys.stdin/out change.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Sat, 26 Oct 2002 14:39:10 +0000 |
| parents | 8ab303375b30 |
| children | cc05c2c8660e |
line wrap: on
line diff
--- a/Include/pythonrun.h Sat Oct 26 13:47:44 2002 +0000 +++ b/Include/pythonrun.h Sat Oct 26 14:39:10 2002 +0000 @@ -113,9 +113,9 @@ PyAPI_FUNC(void) PyOS_FiniInterrupts(void); /* Stuff with no proper home (yet) */ -PyAPI_FUNC(char *) PyOS_Readline(char *); +PyAPI_FUNC(char *) PyOS_Readline(FILE *, FILE *, char *); PyAPI_DATA(int) (*PyOS_InputHook)(void); -PyAPI_DATA(char) *(*PyOS_ReadlineFunctionPointer)(char *); +PyAPI_DATA(char) *(*PyOS_ReadlineFunctionPointer)(FILE *, FILE *, char *); /* Stack size, in "pointers" (so we get extra safety margins on 64-bit platforms). On a 32-bit platform, this translates
