Exemplo n.º 1
0
R_API void r_line_free() {
	// XXX: prompt out of the heap?
	free ((void *)I.prompt);
	I.prompt = NULL;
	r_line_hist_free ();
	r_line_completion_fini (&I.completion);
}
Exemplo n.º 2
0
R_API void r_line_free () {
	// XXX: prompt out of the heap?
	free ((void*)I.prompt);
	I.prompt = NULL;
	r_line_hist_free ();
}