summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Garnock-Jones <tonyg@lshift.net>2010-01-12 18:13:11 +0000
committerTony Garnock-Jones <tonyg@lshift.net>2010-01-12 18:13:11 +0000
commit7131891390c1944bb387511ae7c192ae647712c0 (patch)
tree660113c9c6692f5aef7db1b50d513f32b82bf769
parenta30cebfddd019b986d3c2b9356847c2911f5222e (diff)
downloadrabbitmq-c-github-ask-7131891390c1944bb387511ae7c192ae647712c0.tar.gz
Add "autogenerated code" comment to codegen.
-rw-r--r--librabbitmq/codegen.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/librabbitmq/codegen.py b/librabbitmq/codegen.py
index 2c8012c..ef6ad42 100644
--- a/librabbitmq/codegen.py
+++ b/librabbitmq/codegen.py
@@ -233,6 +233,8 @@ def genErl(spec):
methods = spec.allMethods()
+ print '/* Autogenerated code. Do not edit. */'
+ print
print '#include <stdlib.h>'
print '#include <string.h>'
print '#include <stdio.h>'
@@ -383,7 +385,8 @@ def genHrl(spec):
methods = spec.allMethods()
- print """#ifndef librabbitmq_amqp_framing_h
+ print """/* Autogenerated code. Do not edit. */
+#ifndef librabbitmq_amqp_framing_h
#define librabbitmq_amqp_framing_h
#ifdef __cplusplus