Skip to content

Commit

Permalink
Rename predefined type void() to none()
Browse files Browse the repository at this point in the history
  • Loading branch information
norton committed Sep 1, 2012
1 parent 4be62fa commit 4648075
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ubf_thrift_plugin.con
Expand Up @@ -24,7 +24,7 @@ tfield_type() :: 'T-VOID' | 'T-BOOL' | 'T-BYTE'
| 'T-I08' | 'T-I16' | 'T-I32' | 'T-U64' | 'T-I64' | 'T-DOUBLE'
| 'T-BINARY' | 'T-STRUCT' | 'T-MAP' | 'T-SET' | 'T-LIST';
tfield_id() :: integer();
tfield_data() :: void() | tboolean() | integer()
tfield_data() :: none() | tboolean() | integer()
| integer() | float()
| binary() | tstruct() | tmap() | tset() | tlist();

Expand Down
2 changes: 1 addition & 1 deletion src/ubf_thrift_plugin.erl
Expand Up @@ -42,7 +42,7 @@ handlerStart(_Args) ->
ack = install_handler(self(), fun handlerEvent/1),
{accept,ok,none,unused}.

%% @spec handlerStop(Pid::pid(), Reason::any(), StateData::term()) -> void()
%% @spec handlerStop(Pid::pid(), Reason::any(), StateData::term()) -> none()
%% @doc stop handler
handlerStop(_Pid, _Reason, _StateData) ->
unused.
Expand Down

0 comments on commit 4648075

Please sign in to comment.