flags.hpp 714 B

12345678910111213141516171819202122232425262728293031323334
  1. // Copyright Oliver Kowalke 2009.
  2. // Distributed under the Boost Software License, Version 1.0.
  3. // (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt)
  5. #ifndef BOOST_COROUTINES_DETAIL_FLAGS_H
  6. #define BOOST_COROUTINES_DETAIL_FLAGS_H
  7. #include <boost/config.hpp>
  8. #ifdef BOOST_HAS_ABI_HEADERS
  9. # include BOOST_ABI_PREFIX
  10. #endif
  11. namespace boost {
  12. namespace coroutines {
  13. namespace detail {
  14. enum flag_t
  15. {
  16. flag_complete = 1 << 1,
  17. flag_unwind_stack = 1 << 2,
  18. flag_force_unwind = 1 << 3,
  19. flag_preserve_fpu = 1 << 4
  20. };
  21. }}}
  22. #ifdef BOOST_HAS_ABI_HEADERS
  23. # include BOOST_ABI_SUFFIX
  24. #endif
  25. #endif // BOOST_COROUTINES_DETAIL_FLAGS_H