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
commita4a20e29a4c99a6903ce7c35f7c559d0f1ba7c05 (patch)
tree2d8283c381107b18a00f09ed542ddea9c5a612cb
parent3ce02c83e20cdb144bbfcb5109f4f81806801e65 (diff)
downloadrabbitmq-server-a4a20e29a4c99a6903ce7c35f7c559d0f1ba7c05.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 4fdbec55..c1e47464 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' |