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); }
R_API void r_line_free () { // XXX: prompt out of the heap? free ((void*)I.prompt); I.prompt = NULL; r_line_hist_free (); }