diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-21 13:25:19 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2011-05-03 14:44:11 +0200 |
commit | 7e2373c2e90648644ce2f103ced7a445a5e87ea4 (patch) | |
tree | e4f73a2724361025a4c87c71b76173c26af76c71 /spice_codegen.py | |
parent | e0c20725c8c7b516ed500b570fcf134534efd6b3 (diff) | |
download | spice-7e2373c2e90648644ce2f103ced7a445a5e87ea4.tar.gz spice-7e2373c2e90648644ce2f103ced7a445a5e87ea4.tar.xz spice-7e2373c2e90648644ce2f103ced7a445a5e87ea4.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 4dad06c4..05b47f62 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") |