ARGSUSED*/
| 1946 | |
| 1947 | /*ARGSUSED*/ |
| 1948 | static unsigned char |
| 1949 | rl_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 | |
| 1965 | int |
| 1966 | rl_add_defun(const char *name, Function *fun, int c) |
nothing calls this directly
no test coverage detected