123456789101112131415161718192021222324252627282930313233343536373839 |
- #ifndef BOOST_CONTEXT_DETAIL_EXCEPTION_H
- #define BOOST_CONTEXT_DETAIL_EXCEPTION_H
- #include <boost/assert.hpp>
- #include <boost/config.hpp>
- #include <boost/context/detail/fcontext.hpp>
- #ifdef BOOST_HAS_ABI_HEADERS
- # include BOOST_ABI_PREFIX
- #endif
- namespace boost {
- namespace context {
- namespace detail {
- struct forced_unwind {
- fcontext_t fctx{ nullptr };
- forced_unwind() = default;
- forced_unwind( fcontext_t fctx_) :
- fctx( fctx_) {
- }
- };
- }}}
- #ifdef BOOST_HAS_ABI_HEADERS
- #include BOOST_ABI_SUFFIX
- #endif
- #endif
|