Sha256: 99153f431e335a39035f366416ec02fb33abb432b9ce557887677583fbebdec8

Contents?: true

Size: 1.14 KB

Versions: 18

Compression:

Stored size: 1.14 KB

Contents

//
// MessagePack for C++ memory pool
//
// 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_CPP03_ZONE_DECL_HPP
#define MSGPACK_V1_CPP03_ZONE_DECL_HPP

#include <cstdlib>
#include <memory>
#include <vector>

#include "msgpack/versioning.hpp"

#ifndef MSGPACK_ZONE_CHUNK_SIZE
#define MSGPACK_ZONE_CHUNK_SIZE 8192
#endif

#ifndef MSGPACK_ZONE_ALIGN
#define MSGPACK_ZONE_ALIGN sizeof(void*)
#endif

#if defined(_MSC_VER)
#define MSGPACK_ZONE_ALIGNOF(type) __alignof(type)
#else
#define MSGPACK_ZONE_ALIGNOF(type) __alignof__(type)
#endif
// For a compiler that doesn't support __alignof__:
// #define MSGPACK_ZONE_ALIGNOF(type) MSGPACK_ZONE_ALIGN


namespace msgpack {

/// @cond
MSGPACK_API_VERSION_NAMESPACE(v1) {
/// @endcond

class zone;

std::size_t aligned_size(
    std::size_t size,
    std::size_t align = MSGPACK_ZONE_ALIGN);

/// @cond
}  // MSGPACK_API_VERSION_NAMESPACE(v1)
/// @endcond

}  // namespace msgpack

#endif // MSGPACK_V1_CPP03_ZONE_DECL_HPP

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
script_core-0.3.2 ext/enterprise_script_service/msgpack/include/msgpack/v1/detail/cpp03_zone_decl.hpp
script_core-0.3.0 ext/enterprise_script_service/msgpack/include/msgpack/v1/detail/cpp03_zone_decl.hpp
script_core-0.2.7 ext/enterprise_script_service/msgpack/include/msgpack/v1/detail/cpp03_zone_decl.hpp
script_core-0.2.6 ext/enterprise_script_service/msgpack/include/msgpack/v1/detail/cpp03_zone_decl.hpp
script_core-0.2.5 ext/enterprise_script_service/msgpack/include/msgpack/v1/detail/cpp03_zone_decl.hpp
script_core-0.2.4 ext/enterprise_script_service/msgpack/include/msgpack/v1/detail/cpp03_zone_decl.hpp
script_core-0.2.3 ext/enterprise_script_service/msgpack/include/msgpack/v1/detail/cpp03_zone_decl.hpp
script_core-0.2.2 ext/enterprise_script_service/msgpack/include/msgpack/v1/detail/cpp03_zone_decl.hpp
script_core-0.2.1 ext/enterprise_script_service/msgpack/include/msgpack/v1/detail/cpp03_zone_decl.hpp
script_core-0.2.0 ext/enterprise_script_service/msgpack/include/msgpack/v1/detail/cpp03_zone_decl.hpp
rroonga-9.0.7-x64-mingw32 vendor/local/include/msgpack/v1/detail/cpp03_zone_decl.hpp
rroonga-9.0.7-x86-mingw32 vendor/local/include/msgpack/v1/detail/cpp03_zone_decl.hpp
script_core-0.1.1 ext/enterprise_script_service/msgpack/include/msgpack/v1/detail/cpp03_zone_decl.hpp
rroonga-9.0.3-x64-mingw32 vendor/local/include/msgpack/v1/detail/cpp03_zone_decl.hpp
rroonga-9.0.3-x86-mingw32 vendor/local/include/msgpack/v1/detail/cpp03_zone_decl.hpp
rroonga-9.0.2-x64-mingw32 vendor/local/include/msgpack/v1/detail/cpp03_zone_decl.hpp
rroonga-9.0.2-x86-mingw32 vendor/local/include/msgpack/v1/detail/cpp03_zone_decl.hpp
script_core-0.1.0 ext/enterprise_script_service/msgpack/include/msgpack/v1/detail/cpp03_zone_decl.hpp