MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / rl_bind_wrapper

Function rl_bind_wrapper

extern/editline/src/readline.c:1948–1963  ·  view source on GitHub ↗

ARGSUSED*/

Source from the content-addressed store, hash-verified

1946
1947/*ARGSUSED*/
1948static unsigned char
1949rl_bind_wrapper(EditLine *el __attribute__((__unused__)), unsigned char c)
1950{
1951 if (map[c] == NULL)
1952 return CC_ERROR;
1953
1954 _rl_update_pos();
1955
1956 (*map[c])(NULL, c);
1957
1958 /* If rl_done was set by the above call, deal with it here */
1959 if (rl_done)
1960 return CC_EOF;
1961
1962 return CC_NORM;
1963}
1964
1965int
1966rl_add_defun(const char *name, Function *fun, int c)

Callers

nothing calls this directly

Calls 1

_rl_update_posFunction · 0.85

Tested by

no test coverage detected