diff options
author | Tony Garnock-Jones <tonyg@lshift.net> | 2010-01-12 18:13:11 +0000 |
---|---|---|
committer | Tony Garnock-Jones <tonyg@lshift.net> | 2010-01-12 18:13:11 +0000 |
commit | 7131891390c1944bb387511ae7c192ae647712c0 (patch) | |
tree | 660113c9c6692f5aef7db1b50d513f32b82bf769 | |
parent | a30cebfddd019b986d3c2b9356847c2911f5222e (diff) | |
download | rabbitmq-c-github-ask-7131891390c1944bb387511ae7c192ae647712c0.tar.gz |
Add "autogenerated code" comment to codegen.
-rw-r--r-- | librabbitmq/codegen.py | 5 |
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 |