This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Convert uiout->levels to a vector
- From: Tom Tromey <tromey at redhat dot com>
- To: Phil Muldoon <pmuldoon at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 21 May 2013 10:37:00 -0600
- Subject: Re: [patch] Convert uiout->levels to a vector
- References: <519B886E dot 1010502 at redhat dot com>
>>>>> "Phil" == Phil Muldoon <pmuldoon@redhat.com> writes:
Phil> 2013-05-21 Phil Muldoon <pmuldoon@redhat.com>
Phil> * ui-out.c: Create typedef ui_out_level_p and define vector
Phil> operations for that type.
Phil> (struct ui_out): Use a vector instead of an array.
Phil> (current_level): Return level from a vector.
Phil> (push_level): Create a level in a vector.
Phil> (pop_level): Delete a level in a vector.
Phil> (ui_out_new): Create initial level zero level, and store in a
Phil> vector.
Phil> (ui_out_destroy): Add vector cleanup.
Ok.
Tom