stream.printf ("<?xml version=\"1.0\"?>\n");
+ var header = context.version_header ?
+ "<!-- %s generated by %s %s, do not modify. -->".printf (Path.get_basename (filename), Environment.get_prgname (), Vala.BUILD_VERSION) :
+ "<!-- %s generated by %s, do not modify. -->".printf (Path.get_basename (filename), Environment.get_prgname ());
+ stream.printf ("%s\n", header);
+
stream.printf ("<repository version=\"1.2\"");
stream.printf (" xmlns=\"http://www.gtk.org/introspection/core/1.0\"");
stream.printf (" xmlns:c=\"http://www.gtk.org/introspection/c/1.0\"");
<?xml version="1.0"?>
+<!-- GirTest-1.0.gir generated by valac, do not modify. -->
<repository version="1.2" xmlns="http://www.gtk.org/introspection/core/1.0" xmlns:c="http://www.gtk.org/introspection/c/1.0" xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="GObject" version="2.0"/>
<include name="GLib" version="2.0"/>