We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65c3afc commit 857b4ecCopy full SHA for 857b4ec
Modules/readline.c
@@ -747,15 +747,24 @@ on_hook(PyObject *func)
747
return result;
748
}
749
750
+
751
static int
752
+#if defined(_RL_FUNCTION_TYPEDEF)
753
on_startup_hook(void)
754
+#else
755
+on_startup_hook()
756
+#endif
757
{
758
return on_hook(startup_hook);
759
760
761
#ifdef HAVE_RL_PRE_INPUT_HOOK
762
763
764
on_pre_input_hook(void)
765
766
+on_pre_input_hook()
767
768
769
return on_hook(pre_input_hook);
770
0 commit comments