diff options
author | Matthias Radestock <matthias@lshift.net> | 2009-09-30 09:52:42 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@lshift.net> | 2009-09-30 09:52:42 +0100 |
commit | 6da50e1065166563468de17a2076c9769edb280d (patch) | |
tree | 5b409a0e3967d4f681e542b6b0124b6aa1e80238 /include | |
parent | f37f5dead8b50bf0fece5c9aaf53de7cd7a4a549 (diff) | |
download | rabbitmq-server-6da50e1065166563468de17a2076c9769edb280d.tar.gz |
s/bool()/boolean() in type specsbug21714
since in R13B02 erlc spits out deprecation warnings otherwise
Diffstat (limited to 'include')
-rw-r--r-- | include/rabbit.hrl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index c95ce738..5703d0d6 100644 --- a/include/rabbit.hrl +++ b/include/rabbit.hrl @@ -103,15 +103,15 @@ read :: regexp()}). -type(amqqueue() :: #amqqueue{name :: queue_name(), - durable :: bool(), - auto_delete :: bool(), + durable :: boolean(), + auto_delete :: boolean(), arguments :: amqp_table(), pid :: maybe(pid())}). -type(exchange() :: #exchange{name :: exchange_name(), type :: exchange_type(), - durable :: bool(), - auto_delete :: bool(), + durable :: boolean(), + auto_delete :: boolean(), arguments :: amqp_table()}). -type(binding() :: #binding{exchange_name :: exchange_name(), @@ -141,14 +141,14 @@ persistent_key :: maybe(pkey())}). -type(message() :: basic_message()). -type(delivery() :: - #delivery{mandatory :: bool(), - immediate :: bool(), + #delivery{mandatory :: boolean(), + immediate :: boolean(), txn :: maybe(txn()), sender :: pid(), message :: message()}). %% this really should be an abstract type -type(msg_id() :: non_neg_integer()). --type(msg() :: {queue_name(), pid(), msg_id(), bool(), message()}). +-type(msg() :: {queue_name(), pid(), msg_id(), boolean(), message()}). -type(listener() :: #listener{node :: erlang_node(), protocol :: atom(), |