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

Function el_end

extern/editline/src/el.c:153–180  ·  view source on GitHub ↗

el_end(): * Clean up. */

Source from the content-addressed store, hash-verified

151 * Clean up.
152 */
153public void
154el_end(EditLine *el)
155{
156
157 if (el == NULL)
158 return;
159
160 el_reset(el);
161
162 terminal_end(el);
163 keymacro_end(el);
164 map_end(el);
165 tty_end(el);
166 ch_end(el);
167 search_end(el);
168 hist_end(el);
169 prompt_end(el);
170 sig_end(el);
171
172 el_free(el->el_prog);
173#ifdef WIDECHAR
174 el_free(el->el_scratch.cbuff);
175 el_free(el->el_scratch.wbuff);
176 el_free(el->el_lgcyconv.cbuff);
177 el_free(el->el_lgcyconv.wbuff);
178#endif
179 el_free(el);
180}
181
182
183/* el_reset():

Callers 1

rl_initializeFunction · 0.85

Calls 10

el_resetFunction · 0.85
terminal_endFunction · 0.85
keymacro_endFunction · 0.85
map_endFunction · 0.85
tty_endFunction · 0.85
ch_endFunction · 0.85
search_endFunction · 0.85
hist_endFunction · 0.85
prompt_endFunction · 0.85
sig_endFunction · 0.85

Tested by

no test coverage detected