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 | d81c817d65ceba84c8095b0df866e068779c92f2 (patch) | |
tree | ab03c262b49adf6f0cd9067e3fb38afba1a96455 /codegen.py | |
parent | a7fe204b13b1f46d53d25ce87215b04ffdb50129 (diff) | |
download | rabbitmq-server-d81c817d65ceba84c8095b0df866e068779c92f2.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
@@ -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)." |