[Spice-devel] [PATCH 8/8] add comment to beginning of autogenerated files

Christophe Fergeau cfergeau at redhat.com
Thu Apr 21 05:00:22 PDT 2011


---
 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")
-- 
1.7.4.4



More information about the Spice-devel mailing list