Keep track of generated XML tree and handle indentation and closing tags
authorTommi Komulainen <tommi.komulainen@iki.fi>
Wed, 15 Oct 2008 22:06:52 +0000 (22:06 +0000)
committerTommi Komulainen <tko@src.gnome.org>
Wed, 15 Oct 2008 22:06:52 +0000 (22:06 +0000)
commitbdc8f915644293e9339f7efd5e00e714b5a33d65
tree425fa4e6c13b506c4d23c1676511abc939b7f15c
parentc65659fbfba463d71b5cb247dcf6e88df8a9ea6b
Keep track of generated XML tree and handle indentation and closing tags

2008-10-15  Tommi Komulainen  <tommi.komulainen@iki.fi>

* tools/generate.c (xml_element_new, xml_element_free,
xml_start_element, xml_end_element, xml_end_element_unchecked,
xml_open, xml_close): Keep track of generated XML tree and
handle indentation and closing tags properly.
(write_field_info, write_callable_info, write_function_info,
write_callback_info, write_struct_info, write_value_info,
write_constant_info, write_enum_info, write_signal_info,
write_vfunc_info, write_property_info, write_object_info,
write_interface_info, write_error_domain_info, write_union_info,
write_repository): Use xml_start_element and xml_end_element to
open/close tags.

svn path=/trunk/; revision=713
ChangeLog
tools/generate.c