commit | 1cb979b3d0a9163adf60dc08b311964af53dfa15 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | 周一 8月 30 22:05:25 2010 +0000 |
committer | David Reiss <dreiss@apache.org> | 周一 8月 30 22:05:25 2010 +0000 |
tree | 47f57d62958f2a3dcf1715377faaec7be7c1de13 | |
parent | 48b8124e3289484193833049fde3fb4c584cd457 [diff] [blame] |
erlang: Add a more detailed spec for thrift_protocol:read git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@990976 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/erl/include/thrift_protocol_impl.hrl b/lib/erl/include/thrift_protocol_impl.hrl index fe9d20d..92f3a00 100644 --- a/lib/erl/include/thrift_protocol_impl.hrl +++ b/lib/erl/include/thrift_protocol_impl.hrl
@@ -27,6 +27,7 @@ -spec write(state(), term()) -> ok | {error, _Reason}. +%% NOTE: Keep this in sync with thrift_protocol:read. -spec read (state(), tprot_empty_tag()) -> ok | {error, _Reason}; (state(), tprot_header_tag()) -> tprot_header_val() | {error, _Reason};