summaryrefslogtreecommitdiff
path: root/codegen.py
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2010-07-30 17:22:45 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2010-07-30 17:22:45 +0100
commit67a67d0384902b6e15bc1293ec8e02aba4b84f34 (patch)
tree642419aaed93b64dbbf6ac9f56888947c3f97872 /codegen.py
parentfb7a0b5c07e38bfb7ff0e7a00306fed145f0fb05 (diff)
downloadrabbitmq-server-67a67d0384902b6e15bc1293ec8e02aba4b84f34.tar.gz
added connection_exit() and channel_exit() to relevant function specsbug23022
Diffstat (limited to 'codegen.py')
-rw-r--r--codegen.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/codegen.py b/codegen.py
index 1244aae1..420fc870 100644
--- a/codegen.py
+++ b/codegen.py
@@ -401,7 +401,8 @@ def genErl(spec):
-spec(is_method_synchronous/1 :: (amqp_method_record()) -> boolean()).
-spec(method_record/1 :: (amqp_method_name()) -> amqp_method_record()).
-spec(method_fieldnames/1 :: (amqp_method_name()) -> [amqp_method_field_name()]).
--spec(decode_method_fields/2 :: (amqp_method_name(), binary()) -> amqp_method_record()).
+-spec(decode_method_fields/2 ::
+ (amqp_method_name(), binary()) -> amqp_method_record() | rabbit_types:connection_exit()).
-spec(decode_properties/2 :: (non_neg_integer(), binary()) -> amqp_property_record()).
-spec(encode_method_fields/1 :: (amqp_method_record()) -> binary()).
-spec(encode_properties/1 :: (amqp_method_record()) -> binary()).