summaryrefslogtreecommitdiff
path: root/include/rabbit_backing_queue_spec.hrl
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2010-10-05 18:03:56 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2010-10-05 18:03:56 +0100
commitce21bc83e70cfc8eb89aecc22d84a77c0175024b (patch)
treedfbb37b433def5d4bfe7e2358e0ad13f5cd872a6 /include/rabbit_backing_queue_spec.hrl
parent70e398700b73ed51129407dd69fd686325155094 (diff)
downloadrabbitmq-server-ce21bc83e70cfc8eb89aecc22d84a77c0175024b.tar.gz
swap the arguments of ack/2
Diffstat (limited to 'include/rabbit_backing_queue_spec.hrl')
-rw-r--r--include/rabbit_backing_queue_spec.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl
index 98d7ee9b..9f3a0227 100644
--- a/include/rabbit_backing_queue_spec.hrl
+++ b/include/rabbit_backing_queue_spec.hrl
@@ -51,7 +51,7 @@
-spec(publish_delivered/4 :: (ack_required(), rabbit_types:basic_message(),
confirm_required(), state()) -> {ack(), state()}).
-spec(fetch/2 :: (ack_required(), state()) -> {fetch_result(), state()}).
--spec(ack/2 :: ([ack()], state()) -> {state(), [rabbit_guid:guid()]}).
+-spec(ack/2 :: ([ack()], state()) -> {[rabbit_guid:guid()], state()}).
-spec(tx_publish/3 :: (rabbit_types:txn(), rabbit_types:basic_message(),
state()) -> state()).
-spec(tx_ack/3 :: (rabbit_types:txn(), [ack()], state()) -> state()).