summaryrefslogtreecommitdiffstats
path: root/third_party/msgpack/include/msgpack/v3/parse_decl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/msgpack/include/msgpack/v3/parse_decl.hpp')
-rw-r--r--third_party/msgpack/include/msgpack/v3/parse_decl.hpp49
1 files changed, 49 insertions, 0 deletions
diff --git a/third_party/msgpack/include/msgpack/v3/parse_decl.hpp b/third_party/msgpack/include/msgpack/v3/parse_decl.hpp
new file mode 100644
index 0000000000..f1c2d7adae
--- /dev/null
+++ b/third_party/msgpack/include/msgpack/v3/parse_decl.hpp
@@ -0,0 +1,49 @@
+//
+// 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