summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2010-11-06 13:02:20 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2010-11-06 13:02:20 +0000
commitf19befcd947b0af71938f923e120814c57a332d8 (patch)
tree2d8283c381107b18a00f09ed542ddea9c5a612cb
parent2fe2f2b904b19511bd89a63d3710ccc04c127c11 (diff)
downloadrabbitmq-server-git-f19befcd947b0af71938f923e120814c57a332d8.tar.gz
export types in more sensible order and add some that were missing
-rw-r--r--codegen.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/codegen.py b/codegen.py
index 4fdbec554f..c1e4746414 100644
--- a/codegen.py
+++ b/codegen.py
@@ -348,9 +348,11 @@ def genErl(spec):
print "%% Various types"
print "-ifdef(use_specs)."
- print """-export_type([amqp_table/0, amqp_property_type/0, amqp_method_record/0,
- amqp_method_name/0, amqp_method/0, amqp_class_id/0,
- amqp_value/0, amqp_array/0, amqp_exception/0, amqp_property_record/0]).
+ print """-export_type([amqp_field_type/0, amqp_property_type/0,
+ amqp_table/0, amqp_array/0, amqp_value/0,
+ amqp_method_name/0, amqp_method/0, amqp_method_record/0,
+ amqp_method_field_name/0, amqp_property_record/0,
+ amqp_exception/0, amqp_exception_code/0, amqp_class_id/0]).
-type(amqp_field_type() ::
'longstr' | 'signedint' | 'decimal' | 'timestamp' |