| 1 | // pyext/line_input.c
 | 
| 2 | 
 | 
| 3 | static PyMethodDef readline_methods[] = {
 | 
| 4 |   {"parse_and_bind", parse_and_bind, METH_VARARGS},
 | 
| 5 |   {"get_line_buffer", get_line_buffer, METH_NOARGS},
 | 
| 6 |   {"read_history_file", read_history_file, METH_VARARGS},
 | 
| 7 |   {"write_history_file", write_history_file, METH_VARARGS},
 | 
| 8 |   {"get_history_item", get_history_item, METH_VARARGS},
 | 
| 9 |   {"get_current_history_length", (PyCFunction)get_current_history_length, METH_NOARGS},
 | 
| 10 |   {"set_completer", set_completer, METH_VARARGS},
 | 
| 11 |   {"get_begidx", get_begidx, METH_NOARGS},
 | 
| 12 |   {"get_endidx", get_endidx, METH_NOARGS},
 | 
| 13 |   {"set_completer_delims", set_completer_delims, METH_VARARGS},
 | 
| 14 |   {"add_history", py_add_history, METH_VARARGS},
 | 
| 15 |   {"remove_history_item", py_remove_history, METH_VARARGS},
 | 
| 16 |   {"set_completion_display_matches_hook", set_completion_display_matches_hook, METH_VARARGS},
 | 
| 17 |   {"clear_history", py_clear_history, METH_NOARGS},
 | 
| 18 |   {"resize_terminal", py_resize_terminal, METH_NOARGS},
 | 
| 19 |   {0},
 | 
| 20 | };
 |