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,6 +18,7 @@
#ifndef MSGPACK_OBJECT_HPP
#define MSGPACK_OBJECT_HPP
#include "msgpack/versioning.hpp"
#include "object.h"
#include "pack.hpp"
#include "zone.hpp"
@@ -29,6 +30,7 @@
namespace msgpack {
MSGPACK_API_VERSION_NAMESPACE(v1) {
class type_error : public std::bad_cast { };
@@ -568,6 +570,8 @@ inline std::ostream& operator<< (std::ostream& s, const object& o)
return s;
}
} // MSGPACK_API_VERSION_NAMESPACE(v1)
} // namespace msgpack
#include "msgpack/type.hpp"