Fixed wrong jiffy:decode/2 spec Project: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/commit/8eb8f3eb Tree: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/tree/8eb8f3eb Diff: http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/diff/8eb8f3eb
Branch: refs/heads/master Commit: 8eb8f3ebf35a9bf02f1c9ea6ed1148de0ef7b59a Parents: 1febce3 Author: Yakov <[email protected]> Authored: Wed Apr 6 14:22:01 2016 +0400 Committer: Yakov <[email protected]> Committed: Wed Apr 6 14:22:01 2016 +0400 ---------------------------------------------------------------------- src/jiffy.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-jiffy/blob/8eb8f3eb/src/jiffy.erl ---------------------------------------------------------------------- diff --git a/src/jiffy.erl b/src/jiffy.erl index 215674c..9871e4f 100644 --- a/src/jiffy.erl +++ b/src/jiffy.erl @@ -61,7 +61,7 @@ decode(Data) -> decode(Data, []). --spec decode(iolist() | binary(), decode_options()) -> json_value(). +-spec decode(iolist() | binary(), decode_options()) -> jiffy_decode_result(). decode(Data, Opts) when is_binary(Data), is_list(Opts) -> case nif_decode_init(Data, Opts) of {error, _} = Error ->
