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 | 87396f8ddb979038e0173bd8fb10977558a7e476 (patch) | |
| tree | dcad36df1c08354b9bfe8d61b8ef709f5abe5132 /include | |
| parent | 9bd58e8226bd00ab6b5ac774ba88fbe3d3ab53b5 (diff) | |
| download | rabbitmq-server-git-87396f8ddb979038e0173bd8fb10977558a7e476.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 0ab51b363e..4189d20f32 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(), |
