File indexing completed on 2025-01-18 09:30:24
0001
0002
0003
0004
0005
0006
0007 #ifndef BOOST_CONTEXT_DETAIL_EXCEPTION_H
0008 #define BOOST_CONTEXT_DETAIL_EXCEPTION_H
0009
0010 #include <boost/assert.hpp>
0011 #include <boost/config.hpp>
0012
0013 #include <boost/context/detail/fcontext.hpp>
0014
0015 #ifdef BOOST_HAS_ABI_HEADERS
0016 # include BOOST_ABI_PREFIX
0017 #endif
0018
0019 namespace boost {
0020 namespace context {
0021 namespace detail {
0022
0023 struct forced_unwind {
0024 fcontext_t fctx{ nullptr };
0025
0026 forced_unwind() = default;
0027
0028 forced_unwind( fcontext_t fctx_) :
0029 fctx( fctx_) {
0030 }
0031 };
0032
0033 }}}
0034
0035 #ifdef BOOST_HAS_ABI_HEADERS
0036 #include BOOST_ABI_SUFFIX
0037 #endif
0038
0039 #endif