diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2010-11-06 14:08:31 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2010-11-06 14:08:31 +0000 |
commit | 46b2364ca49aa8c6a82c43c1f1aedf1109be42f4 (patch) | |
tree | 3b66b5158cd62e5dd75860ccdda3c30fe38bf511 /src/rabbit_binary_generator.erl | |
parent | e1d0b1f25c262564364b08bde8d8a36276c16eaa (diff) | |
download | rabbitmq-server-46b2364ca49aa8c6a82c43c1f1aedf1109be42f4.tar.gz |
yet more spec fixes
Diffstat (limited to 'src/rabbit_binary_generator.erl')
-rw-r--r-- | src/rabbit_binary_generator.erl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/rabbit_binary_generator.erl b/src/rabbit_binary_generator.erl index 722573c7..b2997ae2 100644 --- a/src/rabbit_binary_generator.erl +++ b/src/rabbit_binary_generator.erl @@ -75,9 +75,12 @@ rabbit_types:encoded_content()). -spec(clear_encoded_content/1 :: (rabbit_types:content()) -> rabbit_types:unencoded_content()). --spec(map_exception/3 :: (non_neg_integer(), rabbit_types:amqp_error(), +-spec(map_exception/3 :: (rabbit_channel:channel_number(), + rabbit_types:amqp_error() | any(), rabbit_types:protocol()) -> - {boolean(), non_neg_integer(), rabbit_framing:amqp_method()}). + {boolean(), + rabbit_channel:channel_number(), + rabbit_framing:amqp_method_record()}). -endif. |