summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2010-07-05 14:18:06 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2010-07-05 14:18:06 +0100
commit6a67fc1e887b427feaaa1511be2ccbbae905fbe5 (patch)
treefb8b47e7961bfc4ebc239b95577999a4113de730
parentfe10c3a199945fa53868591e1d87cc970c239e70 (diff)
downloadrabbitmq-server-6a67fc1e887b427feaaa1511be2ccbbae905fbe5.tar.gz
added missing export_types
-rw-r--r--codegen.py2
-rw-r--r--src/rabbit_invariable_queue.erl2
-rw-r--r--src/rabbit_misc.erl2
-rw-r--r--src/rabbit_tests.erl2
4 files changed, 4 insertions, 4 deletions
diff --git a/codegen.py b/codegen.py
index 81cbc506..ca1d235b 100644
--- a/codegen.py
+++ b/codegen.py
@@ -334,7 +334,7 @@ def genErl(spec):
-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_value/0, amqp_array/0, amqp_exception/0, amqp_property_record/0]).
bitvalue(true) -> 1;
bitvalue(false) -> 0;
diff --git a/src/rabbit_invariable_queue.erl b/src/rabbit_invariable_queue.erl
index df8adb2e..d3f89ab9 100644
--- a/src/rabbit_invariable_queue.erl
+++ b/src/rabbit_invariable_queue.erl
@@ -52,7 +52,7 @@
-type(state() :: #iv_state { queue :: queue(),
qname :: rabbit_amqqueue:name(),
len :: non_neg_integer(),
- pending_ack :: dict:dictionary()
+ pending_ack :: dict()
}).
-include("rabbit_backing_queue_spec.hrl").
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl
index bf4aaeb4..535af2c8 100644
--- a/src/rabbit_misc.erl
+++ b/src/rabbit_misc.erl
@@ -161,7 +161,7 @@
('lt' | 'lte' | 'eq' | 'gte' | 'gt')) -> boolean()).
-spec(recursive_delete/1 :: ([file:filename()]) ->
'ok' | {'error', {file:filename(), any()}}).
--spec(dict_cons/3 :: (any(), any(), dict:dictionary()) -> dict:dictionary()).
+-spec(dict_cons/3 :: (any(), any(), dict()) -> dict()).
-spec(unlink_and_capture_exit/1 :: (pid()) -> 'ok').
-endif.
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl
index d3813bc7..ad7a11c6 100644
--- a/src/rabbit_tests.erl
+++ b/src/rabbit_tests.erl
@@ -953,7 +953,7 @@ test_memory_pressure() ->
ok = test_memory_pressure_receive_flow(true),
%% if we publish at this point, the channel should die
- Content = rabbit_basic:build_content([], <<>>),
+ Content = rabbit_basic:build_content(#'P_basic'{}, <<>>),
ok = rabbit_channel:do(Ch0, #'basic.publish'{}, Content),
expect_normal_channel_termination(MRef0, Ch0),