Searched refs:set_hook (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Modules/ |
D | readline.c | 202 set_hook(const char *funcname, PyObject **hook_var, PyObject *args) in set_hook() function 241 PyObject *result = set_hook("completion_display_matches_hook", in set_completion_display_matches_hook() 268 return set_hook("startup_hook", &startup_hook, args); in set_startup_hook() 285 return set_hook("pre_input_hook", &pre_input_hook, args); in set_pre_input_hook() 504 return set_hook("completer", &completer, args); in set_completer()
|
/external/python/cpython3/Modules/ |
D | readline.c | 334 set_hook(const char *funcname, PyObject **hook_var, PyObject *args) in set_hook() function 361 PyObject *result = set_hook("completion_display_matches_hook", in set_completion_display_matches_hook() 388 return set_hook("startup_hook", &readlinestate_global->startup_hook, args); in set_startup_hook() 405 return set_hook("pre_input_hook", &readlinestate_global->pre_input_hook, args); in set_pre_input_hook() 641 return set_hook("completer", &readlinestate_global->completer, args); in set_completer()
|