Lines Matching defs:completer
3 * Center. The completer interface was inspired by Lele Gaifax. More
91 PyObject *completer; /* Specify a word completer in Python */
116 Py_CLEAR(state->completer);
129 Py_VISIT(state->completer);
752 /* Set the completer function */
760 Set or remove the completer function.
771 return set_hook("completer", &readlinestate_global->completer, function);
777 Get the current completer function.
784 if (readlinestate_global->completer == NULL) {
787 Py_INCREF(readlinestate_global->completer);
788 return readlinestate_global->completer;
1108 /* C function to call the Python completer. */
1114 if (readlinestate_global->completer != NULL) {
1119 r = PyObject_CallFunction(readlinestate_global->completer, "Ni", t, state);
1146 * before calling the normal completer */