summaryrefslogtreecommitdiffstats
path: root/third_party/msgpack/include/msgpack/v1/adaptor/fixint_decl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/msgpack/include/msgpack/v1/adaptor/fixint_decl.hpp')
-rw-r--r--third_party/msgpack/include/msgpack/v1/adaptor/fixint_decl.hpp46
1 files changed, 46 insertions, 0 deletions
diff --git a/third_party/msgpack/include/msgpack/v1/adaptor/fixint_decl.hpp b/third_party/msgpack/include/msgpack/v1/adaptor/fixint_decl.hpp
new file mode 100644
index 0000000000..1c4a439a9c
--- /dev/null
+++ b/third_party/msgpack/include/msgpack/v1/adaptor/fixint_decl.hpp
@@ -0,0 +1,46 @@
+//
+// MessagePack for C++ static resolution routine
+//
+// Copyright (C) 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_V1_TYPE_FIXINT_DECL_HPP
+#define MSGPACK_V1_TYPE_FIXINT_DECL_HPP
+
+#include "msgpack/versioning.hpp"
+#include "msgpack/adaptor/adaptor_base.hpp"
+#include "msgpack/adaptor/int.hpp"
+
+namespace msgpack {
+
+/// @cond
+MSGPACK_API_VERSION_NAMESPACE(v1) {
+/// @endcond
+
+namespace type {
+
+template <typename T>
+struct fix_int;
+
+typedef fix_int<uint8_t> fix_uint8;
+typedef fix_int<uint16_t> fix_uint16;
+typedef fix_int<uint32_t> fix_uint32;
+typedef fix_int<uint64_t> fix_uint64;
+
+typedef fix_int<int8_t> fix_int8;
+typedef fix_int<int16_t> fix_int16;
+typedef fix_int<int32_t> fix_int32;
+typedef fix_int<int64_t> fix_int64;
+
+} // namespace type
+
+/// @cond
+} // MSGPACK_API_VERSION_NAMESPACE(v1)
+/// @endcond
+
+} // namespace msgpack
+
+#endif // MSGPACK_V1_TYPE_FIXINT_DECL_HPP