diff options
author | Guido van Rossum <guido@python.org> | 1997-08-11 18:57:29 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-08-11 18:57:29 (GMT) |
commit | 44620646fd7666dffa362137c9b69a3c9e18c715 (patch) | |
tree | e78b66f15156ceef5da8c14156033b4b9e8b2a36 /Parser | |
parent | 0357d02eab8c6df2af6abb68603600b8d6a54831 (diff) | |
download | cpython-44620646fd7666dffa362137c9b69a3c9e18c715.zip cpython-44620646fd7666dffa362137c9b69a3c9e18c715.tar.gz cpython-44620646fd7666dffa362137c9b69a3c9e18c715.tar.bz2 |
Renamed Py_input_hook to PyOS_InputHook.
Also cleaned out some CR's left by the VC++ editor.
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/myreadline.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Parser/myreadline.c b/Parser/myreadline.c index 37ee902..24bb18c 100644 --- a/Parser/myreadline.c +++ b/Parser/myreadline.c @@ -51,7 +51,7 @@ PERFORMANCE OF THIS SOFTWARE. #include "mymalloc.h" #include "intrcheck.h" -int (*Py_input_hook)() = NULL; +int (*PyOS_InputHook)() = NULL; /* This function restarts a fgets() after an EINTR error occurred except if PyOS_InterruptOccurred() returns true. */ @@ -64,8 +64,8 @@ my_fgets(buf, len, fp) { char *p; for (;;) { - if (Py_input_hook != NULL) - (void)(Py_input_hook)(); + if (PyOS_InputHook != NULL) + (void)(PyOS_InputHook)(); errno = 0; p = fgets(buf, len, fp); if (p != NULL) |