diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-10-26 14:39:10 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-10-26 14:39:10 (GMT) |
commit | 566f6afe9a9de23132302020dcb4c612d5180f23 (patch) | |
tree | 4475264f5fe2cd2183321e1dcd06fcd29dab9644 /Include/pythonrun.h | |
parent | 88afe666daf18cb93f78b2e7e025cb469ef7f551 (diff) | |
download | cpython-566f6afe9a9de23132302020dcb4c612d5180f23.zip cpython-566f6afe9a9de23132302020dcb4c612d5180f23.tar.gz cpython-566f6afe9a9de23132302020dcb4c612d5180f23.tar.bz2 |
Patch #512981: Update readline input stream on sys.stdin/out change.
Diffstat (limited to 'Include/pythonrun.h')
-rw-r--r-- | Include/pythonrun.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h index 98965b5..7bc011b 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -113,9 +113,9 @@ PyAPI_FUNC(void) PyFloat_Fini(void); 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 |