vrefbuffer_decl.hpp 834 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // MessagePack for C++ zero-copy buffer implementation
  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_V1_VREFBUFFER_DECL_HPP
  11. #define MSGPACK_V1_VREFBUFFER_DECL_HPP
  12. #include "msgpack/versioning.hpp"
  13. #include <cstdlib>
  14. #ifndef MSGPACK_VREFBUFFER_REF_SIZE
  15. #define MSGPACK_VREFBUFFER_REF_SIZE 32
  16. #endif
  17. #ifndef MSGPACK_VREFBUFFER_CHUNK_SIZE
  18. #define MSGPACK_VREFBUFFER_CHUNK_SIZE 8192
  19. #endif
  20. namespace msgpack {
  21. /// @cond
  22. MSGPACK_API_VERSION_NAMESPACE(v1) {
  23. /// @endcond
  24. class vrefbuffer;
  25. /// @cond
  26. } // MSGPACK_API_VERSION_NAMESPACE(v1)
  27. /// @endcond
  28. } // namespace msgpack
  29. #endif // MSGPACK_V1_VREFBUFFER_DECL_HPP