Skip to content

Commit

Permalink
Add a comment about the bool() / boolean() type thing.
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarh committed Sep 7, 2011
1 parent 0fd4a6e commit f5c0b3a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/lhttpc_types.hrl
Expand Up @@ -24,6 +24,12 @@
%%% ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
%%% ----------------------------------------------------------------------------

%% In R13B bool() is now called boolean()
%% I get lots of questions for this, but it will be removed when R15 comes
%% out, before that I belive it's more useful than harmful, since it makes
%% lhttpc compile also with older erlang releases.
-type boolean() :: bool().

-type header() :: {string() | atom(), string()}.
-type headers() :: [header()].

Expand All @@ -42,6 +48,3 @@
-type socket_options() :: [{atom(), term()} | atom()].

-type window_size() :: non_neg_integer() | infinity.

%% In R13B bool() is now called boolean()
-type boolean() :: bool().

0 comments on commit f5c0b3a

Please sign in to comment.