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)
7 #ifndef BOOST_CONTEXT_FCONTEXT_H
8 #define BOOST_CONTEXT_FCONTEXT_H
14 #if defined(_WIN32_WCE)
18 #include <boost/config.hpp>
19 #include <boost/cstdint.hpp>
21 #include <boost/context/detail/config.hpp>
23 #ifdef BOOST_HAS_ABI_HEADERS
24 # include BOOST_ABI_PREFIX
30 typedef void* fcontext_t;
32 extern "C" BOOST_CONTEXT_DECL
33 intptr_t BOOST_CONTEXT_CALLDECL jump_fcontext( fcontext_t * ofc, fcontext_t nfc,
34 intptr_t vp, bool preserve_fpu = true);
35 extern "C" BOOST_CONTEXT_DECL
36 fcontext_t BOOST_CONTEXT_CALLDECL make_fcontext( void * sp, std::size_t size, void (* fn)( intptr_t) );
40 #ifdef BOOST_HAS_ABI_HEADERS
41 # include BOOST_ABI_SUFFIX
44 #endif // BOOST_CONTEXT_FCONTEXT_H