diff options
Diffstat (limited to 'third_party/msgpack/include/msgpack/v2/parse_return.hpp')
-rw-r--r-- | third_party/msgpack/include/msgpack/v2/parse_return.hpp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/third_party/msgpack/include/msgpack/v2/parse_return.hpp b/third_party/msgpack/include/msgpack/v2/parse_return.hpp new file mode 100644 index 0000000000..9acd73e7f5 --- /dev/null +++ b/third_party/msgpack/include/msgpack/v2/parse_return.hpp @@ -0,0 +1,37 @@ +// +// MessagePack for C++ deserializing routine +// +// Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi +// +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) +// +#ifndef MSGPACK_V2_PARSE_RETURN_HPP +#define MSGPACK_V2_PARSE_RETURN_HPP + +#include "msgpack/v1/parse_return.hpp" + +namespace msgpack { + +/// @cond +MSGPACK_API_VERSION_NAMESPACE(v2) { +/// @endcond + + +// for internal use +typedef enum { + PARSE_SUCCESS = v1::PARSE_SUCCESS, + PARSE_EXTRA_BYTES = v1::PARSE_EXTRA_BYTES, + PARSE_CONTINUE = v1::PARSE_CONTINUE, + PARSE_PARSE_ERROR = v1::PARSE_PARSE_ERROR, + PARSE_STOP_VISITOR = -2 +} parse_return; + +/// @cond +} // MSGPACK_API_VERSION_NAMESPACE(v2) +/// @endcond + +} // namespace msgpack + +#endif // MSGPACK_V2_PARSE_RETURN_HPP |