summaryrefslogtreecommitdiff
path: root/spice_codegen.py
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-21 13:25:19 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2011-05-03 14:44:11 +0200
commit7e2373c2e90648644ce2f103ced7a445a5e87ea4 (patch)
treee4f73a2724361025a4c87c71b76173c26af76c71 /spice_codegen.py
parente0c20725c8c7b516ed500b570fcf134534efd6b3 (diff)
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")