24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-02 21:17:12 +02: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 %% select/3
%% If Matchvalue is a tuple, then its size must be == length(string:tokens(Matchrule, "_"))
-type(matchvalue() :: '_' -type(matchvalue() :: '_'
| integer() | integer()
| string()). | string()
| tuple()).
%% | {matchvalue(), matchrule()}. %% | {matchvalue(), matchrule()}.
-type(matchrule() :: {'and', matchrule(), matchrule()} -type(matchrule() :: {'and', matchrule(), matchrule()}
| {'andalso', matchrule(), matchrule()} | {'andalso', matchrule(), matchrule()}