diff options
author | Ben Hood <0x6e6562@gmail.com> | 2008-09-27 21:11:02 +0100 |
---|---|---|
committer | Ben Hood <0x6e6562@gmail.com> | 2008-09-27 21:11:02 +0100 |
commit | 8322a19757583d44a5756cc5085b9151b2e668dc (patch) | |
tree | dcad36df1c08354b9bfe8d61b8ef709f5abe5132 /include | |
parent | adce7ef238e992d5861ffc8e40887cc5d830f5ee (diff) | |
download | rabbitmq-server-8322a19757583d44a5756cc5085b9151b2e668dc.tar.gz |
Dialyzer fixes
Diffstat (limited to 'include')
-rw-r--r-- | include/rabbit.hrl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index 0ab51b36..4189d20f 100644 --- a/include/rabbit.hrl +++ b/include/rabbit.hrl @@ -70,6 +70,7 @@ -type(node() :: atom()). -type(socket() :: port()). -type(thunk(T) :: fun(() -> T)). +-type(function(T) :: fun((T) -> T)). %% this is really an abstract type, but dialyzer does not support them -type(guid() :: any()). @@ -84,6 +85,10 @@ -type(user() :: #user{username :: username(), password :: password()}). +-type(resource() :: + #resource{virtual_host :: vhost(), + kind :: 'queue' | 'exchange', + name :: resource_name()}). -type(amqqueue() :: #amqqueue{name :: queue_name(), durable :: bool(), |