data.hpp 703 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_DATA_H
  6. #define BOOST_COROUTINES_DETAIL_DATA_H
  7. #include <boost/config.hpp>
  8. #include <boost/coroutine/detail/coroutine_context.hpp>
  9. #ifdef BOOST_HAS_ABI_HEADERS
  10. # include BOOST_ABI_PREFIX
  11. #endif
  12. namespace boost {
  13. namespace coroutines {
  14. namespace detail {
  15. struct data_t
  16. {
  17. coroutine_context * from;
  18. void * data;
  19. };
  20. }}}
  21. #ifdef BOOST_HAS_ABI_HEADERS
  22. # include BOOST_ABI_SUFFIX
  23. #endif
  24. #endif // BOOST_COROUTINES_DETAIL_DATA_H