1 2 // Copyright Oliver Kowalke / Nat Goodspeed 2015. 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) 6 7 #include "boost/fiber/algo/algorithm.hpp" 8 9 #include "boost/fiber/context.hpp" 10 11 #ifdef BOOST_HAS_ABI_HEADERS 12 # include BOOST_ABI_PREFIX 13 #endif 14 15 namespace boost { 16 namespace fibers { 17 namespace algo { 18 19 //static 20 fiber_properties * get_properties(context * ctx)21algorithm_with_properties_base::get_properties( context * ctx) noexcept { 22 return ctx->get_properties(); 23 } 24 25 //static 26 void set_properties(context * ctx,fiber_properties * props)27algorithm_with_properties_base::set_properties( context * ctx, fiber_properties * props) noexcept { 28 ctx->set_properties( props); 29 } 30 31 }}} 32 33 #ifdef BOOST_HAS_ABI_HEADERS 34 # include BOOST_ABI_SUFFIX 35 #endif 36