// Copyright Oliver Kowalke 2014. // 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 ACTIV_BOOST_CONTEXT_PREALLOCATED_H #define ACTIV_BOOST_CONTEXT_PREALLOCATED_H #include #include #include #ifdef ACTIV_BOOST_HAS_ABI_HEADERS # include ACTIV_BOOST_ABI_PREFIX #endif namespace Boost { namespace context { struct preallocated { void * sp; std::size_t size; stack_context sctx; preallocated( void * sp_, std::size_t size_, stack_context sctx_) noexcept : sp( sp_), size( size_), sctx( sctx_) { } }; }} #ifdef ACTIV_BOOST_HAS_ABI_HEADERS # include ACTIV_BOOST_ABI_SUFFIX #endif #endif // ACTIV_BOOST_CONTEXT_PREALLOCATED_H