diff options
| author | Alexandru Scvortov <scvalex@gmail.com> | 2010-06-03 11:30:15 +0100 |
|---|---|---|
| committer | Alexandru Scvortov <scvalex@gmail.com> | 2010-06-03 11:30:15 +0100 |
| commit | 24d60ac49c1bdadf96f3f38b48078356aefead63 (patch) | |
| tree | 5aec27eeca532e16c2af94b1383bddb49cb580bf /include | |
| parent | fa55c6ff436387b4d876eed6db778790bccf866a (diff) | |
| download | rabbitmq-server-git-24d60ac49c1bdadf96f3f38b48078356aefead63.tar.gz | |
auto-generation of all function specs for rabbit_framing
Diffstat (limited to 'include')
| -rw-r--r-- | include/rabbit_framing_spec.hrl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/rabbit_framing_spec.hrl b/include/rabbit_framing_spec.hrl index 447947b77b..5344695e92 100644 --- a/include/rabbit_framing_spec.hrl +++ b/include/rabbit_framing_spec.hrl @@ -41,11 +41,16 @@ %% we could make this more precise but ultimately are limited by %% dialyzer's lack of support for recursive types -type(amqp_table() :: [{binary(), amqp_field_type(), any()}]). +%% TODO Remove this +-type(amqp_class_id() :: + ( 100 | 70 | 40 | 10 + | 110 | 80 | 50 | 20 + | 120 | 90 | 60 | 30 )). %% TODO: make this more precise --type(amqp_class_id() :: non_neg_integer()). -%% TODO: make this more precise +%% TODO: Are these tuples of the form {P_basic_property, any()} ? -type(amqp_properties() :: tuple()). -%% TODO: make this more precise +%% TODO: make this more precise I can't find any restriction on this. +%% Should I just check if it's 16bit ? -type(channel_number() :: non_neg_integer()). -type(resource_name() :: binary()). -type(routing_key() :: binary()). |
