mirror of
https://github.com/msgpack/msgpack-c
synced 2026-06-08 16:11:40 +00:00
40 lines
834 B
C++
40 lines
834 B
C++
//
|
|
// MessagePack for C++ zero-copy buffer implementation
|
|
//
|
|
// Copyright (C) 2008-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_VREFBUFFER_DECL_HPP
|
|
#define MSGPACK_V1_VREFBUFFER_DECL_HPP
|
|
|
|
#include "msgpack/versioning.hpp"
|
|
|
|
#include <cstdlib>
|
|
|
|
#ifndef MSGPACK_VREFBUFFER_REF_SIZE
|
|
#define MSGPACK_VREFBUFFER_REF_SIZE 32
|
|
#endif
|
|
|
|
#ifndef MSGPACK_VREFBUFFER_CHUNK_SIZE
|
|
#define MSGPACK_VREFBUFFER_CHUNK_SIZE 8192
|
|
#endif
|
|
|
|
namespace msgpack {
|
|
|
|
/// @cond
|
|
MSGPACK_API_VERSION_NAMESPACE(v1) {
|
|
/// @endcond
|
|
|
|
class vrefbuffer;
|
|
|
|
/// @cond
|
|
} // MSGPACK_API_VERSION_NAMESPACE(v1)
|
|
/// @endcond
|
|
|
|
} // namespace msgpack
|
|
|
|
#endif // MSGPACK_V1_VREFBUFFER_DECL_HPP
|