summaryrefslogtreecommitdiff
path: root/codegen.py
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2010-08-02 18:16:11 +0100
committerMatthew Sackman <matthew@rabbitmq.com>2010-08-02 18:16:11 +0100
commit5cad73bd60c0847800350d61db4f6ed295209682 (patch)
treef49cfe99982bf98604b7230df6aa7fc1a7d665cd /codegen.py
parent6189008045055d86b08ec2d290d1ef30c734c27a (diff)
parentdf0e930c949a6bfdb1fc8d7d699970502c2ab304 (diff)
downloadrabbitmq-server-git-5cad73bd60c0847800350d61db4f6ed295209682.tar.gz
Another debitrot but a smaller one. Did it again due to several largish branches landing on default today and less expected in the near future
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 230d785eba..142297533f 100644
--- a/codegen.py
+++ b/codegen.py
@@ -407,7 +407,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()).