mirror of
https://github.com/msgpack/msgpack-c
synced 2026-06-08 16:11:40 +00:00
347658cdc1
See https://github.com/msgpack/msgpack-c/pull/639#issuecomment-353786498 So I updated the version to 3.0.0. In the version 2.x, it keeps the original behavior.
50 lines
896 B
C++
50 lines
896 B
C++
//
|
|
// MessagePack for C++ deserializing routine
|
|
//
|
|
// Copyright (C) 2018-2017 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_V3_PARSE_DECL_HPP
|
|
#define MSGPACK_V3_PARSE_DECL_HPP
|
|
|
|
#include "msgpack/v2/parse_decl.hpp"
|
|
|
|
namespace msgpack {
|
|
|
|
/// @cond
|
|
MSGPACK_API_VERSION_NAMESPACE(v3) {
|
|
/// @endcond
|
|
|
|
namespace detail {
|
|
|
|
template <typename VisitorHolder>
|
|
class context;
|
|
|
|
} // detail
|
|
|
|
using v2::parser;
|
|
using v2::parse;
|
|
|
|
namespace detail {
|
|
|
|
template <typename Visitor>
|
|
struct parse_helper;
|
|
|
|
template <typename Visitor>
|
|
inline parse_return
|
|
parse_imp(const char* data, size_t len, size_t& off, Visitor& v);
|
|
|
|
} // detail
|
|
|
|
/// @cond
|
|
} // MSGPACK_API_VERSION_NAMESPACE(v3)
|
|
/// @endcond
|
|
|
|
} // namespace msgpack
|
|
|
|
|
|
#endif // MSGPACK_V3_PARSE_DECL_HPP
|