diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-21 13:25:19 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-20 15:25:52 +0100 |
commit | 90f32ab823024fef6b44602077b78110e7aa1c23 (patch) | |
tree | 55498d29c088cc58ab6d71918897bb054e2c77c6 /spice_codegen.py | |
parent | 61b344d7742c5e92154fdb85b7eecefd6d4993e3 (diff) | |
download | spice-common-90f32ab823024fef6b44602077b78110e7aa1c23.tar.gz spice-common-90f32ab823024fef6b44602077b78110e7aa1c23.tar.xz spice-common-90f32ab823024fef6b44602077b78110e7aa1c23.zip |
add comment to beginning of autogenerated files
Diffstat (limited to 'spice_codegen.py')
-rwxr-xr-x | spice_codegen.py | 2 |
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") |