| 1 | |
| 2 | // Copyright Oliver Kowalke 2009. |
| 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 | #ifndef BOOST_COROUTINES_DETAIL_DATA_H |
| 8 | #define BOOST_COROUTINES_DETAIL_DATA_H |
| 9 | |
| 10 | #include <boost/config.hpp> |
| 11 | |
| 12 | #include <boost/coroutine/detail/coroutine_context.hpp> |
| 13 | |
| 14 | #ifdef BOOST_HAS_ABI_HEADERS |
| 15 | # include BOOST_ABI_PREFIX |
| 16 | #endif |
| 17 | |
| 18 | namespace boost { |
| 19 | namespace coroutines { |
| 20 | namespace detail { |
| 21 | |
| 22 | struct data_t |
| 23 | { |
| 24 | coroutine_context * from; |
| 25 | void * data; |
| 26 | }; |
| 27 | |
| 28 | }}} |
| 29 | |
| 30 | #ifdef BOOST_HAS_ABI_HEADERS |
| 31 | # include BOOST_ABI_SUFFIX |
| 32 | #endif |
| 33 | |
| 34 | #endif // BOOST_COROUTINES_DETAIL_DATA_H |
| 35 | |