[patch] Convert uiout->levels to a vector

Tom Tromey tromey@redhat.com
Tue May 21 16:37:00 GMT 2013


>>>>> "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



More information about the Gdb-patches mailing list