diff options
| author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-07-02 12:25:30 +0100 |
|---|---|---|
| committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-07-02 12:25:30 +0100 |
| commit | a44454c71869a2346c7e7bd8038a711276a11110 (patch) | |
| tree | ab03c262b49adf6f0cd9067e3fb38afba1a96455 /codegen.py | |
| parent | d9fa7c5806df89c4432c5618548dea605ba8da22 (diff) | |
| download | rabbitmq-server-git-a44454c71869a2346c7e7bd8038a711276a11110.tar.gz | |
moved most hard-coded types from rabbit_framing
Diffstat (limited to 'codegen.py')
| -rw-r--r-- | codegen.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/codegen.py b/codegen.py index 5c235e350f..d0008cf337 100644 --- a/codegen.py +++ b/codegen.py @@ -333,8 +333,7 @@ def genErl(spec): -export([amqp_exception/1]). -export_type([amqp_table/0, amqp_property_type/0, amqp_method_record/0, - amqp_method_name/0, amqp_method/0, vhost/0, ctag/0, - resource_name/0, amqp_properties/0, amqp_class_id/0]). + amqp_method_name/0, amqp_method/0, amqp_class_id/0]). bitvalue(true) -> 1; bitvalue(false) -> 0; @@ -367,12 +366,7 @@ bitvalue(undefined) -> 0. %% 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: make this more precise -type(amqp_properties() :: tuple()). --type(resource_name() :: binary()). --type(vhost() :: binary()). --type(ctag() :: binary()). - -endif. % use_specs """ print "-ifdef(use_specs)." |
