summaryrefslogtreecommitdiffstats
path: root/spice_codegen.py
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-21 13:25:19 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:52 +0100
commit12be0ad2ae2e1df18df00f4c93617076d31f45a5 (patch)
tree18027811d02a0ad9c94b9ac790d6d333d9117f3d /spice_codegen.py
parent975ebc9b7d83ec6dd4fc5c256f899c8c62d35175 (diff)
downloadspice-protocol-12be0ad2ae2e1df18df00f4c93617076d31f45a5.tar.gz
spice-protocol-12be0ad2ae2e1df18df00f4c93617076d31f45a5.tar.xz
spice-protocol-12be0ad2ae2e1df18df00f4c93617076d31f45a5.zip
add comment to beginning of autogenerated files
Diffstat (limited to 'spice_codegen.py')
-rwxr-xr-xspice_codegen.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/spice_codegen.py b/spice_codegen.py
index 4dad06c..05b47f6 100755
--- a/spice_codegen.py
+++ b/spice_codegen.py
@@ -142,6 +142,8 @@ writer.set_option("source", os.path.basename(proto_file))
writer.public_prefix = options.prefix
+writer.writeln("/* this is a file autogenerated by spice_codegen.py */")
+writer.header.writeln("/* this is a file autogenerated by spice_codegen.py */")
writer.writeln("#ifdef HAVE_CONFIG_H")
writer.writeln("#include <config.h>")
writer.writeln("#endif")