struct ui_out * cli_out_new (struct ui_file *stream) { int flags = ui_source_list; cli_out_data *data = XNEW (cli_out_data); cli_out_data_ctor (data, stream); return ui_out_new (&cli_ui_out_impl, data, flags); }
struct ui_out * cli_out_new (struct ui_file *stream) { ui_out_flags flags = ui_source_list; cli_out_data *data = new cli_out_data (); cli_out_data_ctor (data, stream); return ui_out_new (&cli_ui_out_impl, data, flags); }
struct ui_out * tui_out_new (struct ui_file *stream) { int flags = 0; tui_out_data *data = XNEW (tui_out_data); /* Initialize base "class". */ cli_out_data_ctor (&data->base, stream); /* Initialize our fields. */ data->line = -1; data->start_of_line = 0; return ui_out_new (&tui_ui_out_impl, data, flags); }