Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/context/fcontext.hpp @ 125:34e428693f5d vext
Vext -> Repoint
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2018 11:15:39 +0100 |
parents | c530137014c0 |
children |
rev | line source |
---|---|
Chris@16 | 1 |
Chris@16 | 2 // Copyright Oliver Kowalke 2009. |
Chris@16 | 3 // Distributed under the Boost Software License, Version 1.0. |
Chris@16 | 4 // (See accompanying file LICENSE_1_0.txt or copy at |
Chris@16 | 5 // http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 6 |
Chris@16 | 7 #ifndef BOOST_CONTEXT_FCONTEXT_H |
Chris@16 | 8 #define BOOST_CONTEXT_FCONTEXT_H |
Chris@16 | 9 |
Chris@16 | 10 #if defined(__PGI) |
Chris@16 | 11 #include <stdint.h> |
Chris@16 | 12 #endif |
Chris@16 | 13 |
Chris@16 | 14 #if defined(_WIN32_WCE) |
Chris@16 | 15 typedef int intptr_t; |
Chris@16 | 16 #endif |
Chris@16 | 17 |
Chris@16 | 18 #include <boost/config.hpp> |
Chris@16 | 19 #include <boost/cstdint.hpp> |
Chris@16 | 20 |
Chris@16 | 21 #include <boost/context/detail/config.hpp> |
Chris@16 | 22 |
Chris@16 | 23 #ifdef BOOST_HAS_ABI_HEADERS |
Chris@16 | 24 # include BOOST_ABI_PREFIX |
Chris@16 | 25 #endif |
Chris@16 | 26 |
Chris@16 | 27 namespace boost { |
Chris@16 | 28 namespace context { |
Chris@16 | 29 |
Chris@101 | 30 typedef void* fcontext_t; |
Chris@101 | 31 |
Chris@16 | 32 extern "C" BOOST_CONTEXT_DECL |
Chris@101 | 33 intptr_t BOOST_CONTEXT_CALLDECL jump_fcontext( fcontext_t * ofc, fcontext_t nfc, |
Chris@101 | 34 intptr_t vp, bool preserve_fpu = false); |
Chris@16 | 35 extern "C" BOOST_CONTEXT_DECL |
Chris@101 | 36 fcontext_t BOOST_CONTEXT_CALLDECL make_fcontext( void * sp, std::size_t size, void (* fn)( intptr_t) ); |
Chris@16 | 37 |
Chris@16 | 38 }} |
Chris@16 | 39 |
Chris@16 | 40 #ifdef BOOST_HAS_ABI_HEADERS |
Chris@16 | 41 # include BOOST_ABI_SUFFIX |
Chris@16 | 42 #endif |
Chris@16 | 43 |
Chris@16 | 44 #endif // BOOST_CONTEXT_FCONTEXT_H |
Chris@16 | 45 |