25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Fix Type definition

This commit is contained in:
Badlop 2010-12-21 01:04:52 +01:00
parent 563344d219
commit 0859667a8c

View File

@ -200,9 +200,11 @@ dirty_read(Host, Tab, Key) ->
%% select/3
%% If Matchvalue is a tuple, then its size must be == length(string:tokens(Matchrule, "_"))
-type(matchvalue() :: '_'
| integer()
| string()).
| string()
| tuple()).
%% | {matchvalue(), matchrule()}.
-type(matchrule() :: {'and', matchrule(), matchrule()}
| {'andalso', matchrule(), matchrule()}