Lines Matching defs:function

181 /* Exported function to send one line to readline's init file parser */
215 /* Exported function to parse a readline init file */
246 /* Exported function to load a readline history file */
278 /* Exported function to save a readline history file */
317 /* Exported function to save part of a readline history file */
396 /* Generic hook function setter */
399 set_hook(const char *funcname, PyObject **hook_var, PyObject *function)
401 if (function == Py_None) {
404 else if (PyCallable_Check(function)) {
405 Py_INCREF(function);
406 Py_XSETREF(*hook_var, function);
420 function: object = None
423 Set or remove the completion display function.
425 The function is called as
426 function(substitution, [matches], longest_match_length)
432 PyObject *function)
437 function);
456 function: object = None
459 Set or remove the function invoked by the rl_startup_hook callback.
461 The function is called with no arguments just
466 readline_set_startup_hook_impl(PyObject *module, PyObject *function)
470 function);
480 function: object = None
483 Set or remove the function invoked by the rl_pre_input_hook callback.
485 The function is called with no arguments after the first prompt
491 readline_set_pre_input_hook_impl(PyObject *module, PyObject *function)
495 function);
582 /* _py_free_history_entry: Utility function to free a history entry. */
588 readline also introduced the handy 'free_history_entry' function, which
600 /* No free_history_entry function; free everything manually. */
752 /* Set the completer function */
757 function: object = None
760 Set or remove the completer function.
762 The function is called as function(text, state),
768 readline_set_completer_impl(PyObject *module, PyObject *function)
771 return set_hook("completer", &readlinestate_global->completer, function);
777 Get the current completer function.
791 /* Private function to get current length of history. XXX It may be
810 /* Exported function to get any element of history */
853 /* Exported function to get current length of history */
868 /* Exported function to read the current line buffer */
885 /* Exported function to clear the current history */
903 /* Exported function to insert text into the line buffer */
986 /* C function to call the Python hooks. */
1046 /* C function to call the Python completion_display_matches */
1108 /* C function to call the Python completer. */
1245 /* Bind both ESC-TAB and ESC-ESC to the completion function */
1257 /* Set our completion function */
1286 * inside this function. Nothing we can do about it.