MessagePack for C++
Toggle main menu visibility
Loading...
Searching...
No Matches
msgpack
v2
pack_decl.hpp
Go to the documentation of this file.
1
//
2
// MessagePack for C++ serializing routine
3
//
4
// Copyright (C) 2008-2016 FURUHASHI Sadayuki and KONDO Takatoshi
5
//
6
// Distributed under the Boost Software License, Version 1.0.
7
// (See accompanying file LICENSE_1_0.txt or copy at
8
// http://www.boost.org/LICENSE_1_0.txt)
9
//
10
#ifndef MSGPACK_V2_PACK_DECL_HPP
11
#define MSGPACK_V2_PACK_DECL_HPP
12
13
#include "
msgpack/v1/pack_decl.hpp
"
14
15
namespace
msgpack
{
16
18
MSGPACK_API_VERSION_NAMESPACE
(v2) {
20
21
using
v1::packer;
22
23
using
v1::pack;
24
25
26
#if MSGPACK_ENDIAN_LITTLE_BYTE
27
28
using
v1::take8_8;
29
30
using
v1::take8_16;
31
32
using
v1::take8_32;
33
34
using
v1::take8_64;
35
36
#elif MSGPACK_ENDIAN_BIG_BYTE
37
38
using
v1::take8_8;
39
40
using
v1::take8_16;
41
42
using
v1::take8_32;
43
44
using
v1::take8_64;
45
46
#else
47
#error msgpack-c supports only big endian and little endian
48
#endif
49
51
}
// MSGPACK_API_VERSION_NAMESPACE(v2)
53
54
}
// namespace msgpack
55
56
#endif
// MSGPACK_V2_PACK_DECL_HPP
msgpack
Definition
adaptor_base.hpp:15
pack_decl.hpp
MSGPACK_API_VERSION_NAMESPACE
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition
versioning.hpp:66
Generated by
1.17.0