MessagePack for C++
Loading...
Searching...
No Matches
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
14
15namespace msgpack {
16
20
21using v1::packer;
22
23using v1::pack;
24
25
26#if MSGPACK_ENDIAN_LITTLE_BYTE
27
28using v1::take8_8;
29
30using v1::take8_16;
31
32using v1::take8_32;
33
34using v1::take8_64;
35
36#elif MSGPACK_ENDIAN_BIG_BYTE
37
38using v1::take8_8;
39
40using v1::take8_16;
41
42using v1::take8_32;
43
44using 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
Definition adaptor_base.hpp:15
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition versioning.hpp:66