2 // Copyright Oliver Kowalke 2014.
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
7 #ifndef BOOST_CONTEXT_PREALLOCATED_H
8 #define BOOST_CONTEXT_PREALLOCATED_H
12 #include <boost/config.hpp>
14 #include <boost/context/detail/config.hpp>
16 #ifdef BOOST_HAS_ABI_HEADERS
17 # include BOOST_ABI_PREFIX
28 preallocated( void * sp_, std::size_t size_, stack_context sctx_) noexcept :
29 sp( sp_), size( size_), sctx( sctx_) {
35 #ifdef BOOST_HAS_ABI_HEADERS
36 # include BOOST_ABI_SUFFIX
39 #endif // BOOST_CONTEXT_PREALLOCATED_H