Added API versioning.

This commit is contained in:
Takatoshi Kondo
2014-10-12 22:48:15 +09:00
parent cd03ab62f8
commit 3ddeb08e6e
41 changed files with 261 additions and 11 deletions

View File

@@ -18,11 +18,14 @@
#ifndef MSGPACK_TYPE_FIXINT_HPP
#define MSGPACK_TYPE_FIXINT_HPP
#include "msgpack/versioning.hpp"
#include "msgpack/object.hpp"
#include "msgpack/adaptor/int.hpp"
namespace msgpack {
MSGPACK_API_VERSION_NAMESPACE(v1) {
namespace type {
@@ -202,6 +205,8 @@ inline void operator<< (object::with_zone& o, type::fix_uint64 v)
{ static_cast<object&>(o) << v; }
} // MSGPACK_API_VERSION_NAMESPACE(v1)
} // namespace msgpack
#endif /* msgpack/type/fixint.hpp */