summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2009-11-09 18:12:00 +0000
committerMatthew Sackman <matthew@lshift.net>2009-11-09 18:12:00 +0000
commit9add76728a35e9d09b1c752e67d57698e0d82d2a (patch)
tree10e1718c19464cb42c646ff15d61fbd10b7e021c /include
parente16ec9889f9c693484013167c65e8454157dbba7 (diff)
downloadrabbitmq-server-git-9add76728a35e9d09b1c752e67d57698e0d82d2a.tar.gz
Cosmetic reorganisation of vq. Added specs and made sure usage matches specs
Diffstat (limited to 'include')
-rw-r--r--include/rabbit_queue.hrl7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/rabbit_queue.hrl b/include/rabbit_queue.hrl
index 5833b05683..165a7e7b99 100644
--- a/include/rabbit_queue.hrl
+++ b/include/rabbit_queue.hrl
@@ -49,3 +49,10 @@
{ seq_id,
count
}).
+
+-ifdef(use_specs).
+
+-type(gamma() :: #gamma { seq_id :: non_neg_integer(),
+ count :: non_neg_integer () }).
+
+-endif.