mirror of
https://github.com/boostorg/coroutine.git
synced 2026-02-10 11:22:32 +00:00
rename simple_stack_allocator into standard_stack_allocator
Conflicts: performance/performance_create_standard.cpp
This commit is contained in:
@@ -11,10 +11,10 @@
|
||||
#include <boost/coroutine/coroutine.hpp>
|
||||
#include <boost/coroutine/exceptions.hpp>
|
||||
#include <boost/coroutine/flags.hpp>
|
||||
#include <boost/coroutine/stack_allocator.hpp>
|
||||
#include <boost/coroutine/simple_stack_allocator.hpp>
|
||||
#include <boost/coroutine/protected_stack_allocator.hpp>
|
||||
#include <boost/coroutine/segmented_stack_allocator.hpp>
|
||||
#include <boost/coroutine/stack_allocator.hpp>
|
||||
#include <boost/coroutine/stack_context.hpp>
|
||||
#include <boost/coroutine/standard_stack_allocator.hpp>
|
||||
|
||||
#endif // BOOST_COROUTINES_ALL_H
|
||||
|
||||
@@ -12,9 +12,8 @@
|
||||
#include <boost/config.hpp>
|
||||
|
||||
#include <boost/context/detail/config.hpp>
|
||||
#include <boost/coroutine/protected_stack_allocator.hpp>
|
||||
#include <boost/coroutine/segmented_stack_allocator.hpp>
|
||||
#include <boost/coroutine/simple_stack_allocator.hpp>
|
||||
#include <boost/coroutine/standard_stack_allocator.hpp>
|
||||
|
||||
#ifdef BOOST_HAS_ABI_HEADERS
|
||||
# include BOOST_ABI_PREFIX
|
||||
@@ -26,7 +25,7 @@ namespace coroutines {
|
||||
#if defined(BOOST_USE_SEGMENTED_STACKS)
|
||||
typedef segmented_stack_allocator stack_allocator;
|
||||
#else
|
||||
typedef protected_stack_allocator stack_allocator;
|
||||
typedef standard_stack_allocator stack_allocator;
|
||||
#endif
|
||||
|
||||
}}
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
// (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_COROUTINES_SIMPLE_STACK_ALLOCATOR_H
|
||||
#define BOOST_COROUTINES_SIMPLE_STACK_ALLOCATOR_H
|
||||
#ifndef BOOST_COROUTINES_STANDARD_STACK_ALLOCATOR_H
|
||||
#define BOOST_COROUTINES_STANDARD_STACK_ALLOCATOR_H
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace coroutines {
|
||||
|
||||
struct stack_context;
|
||||
|
||||
class BOOST_COROUTINES_DECL simple_stack_allocator
|
||||
class BOOST_COROUTINES_DECL standard_stack_allocator
|
||||
{
|
||||
public:
|
||||
static bool is_stack_unbound();
|
||||
@@ -44,4 +44,4 @@ public:
|
||||
# include BOOST_ABI_SUFFIX
|
||||
#endif
|
||||
|
||||
#endif // BOOST_COROUTINES_SIMPLE_STACK_ALLOCATOR_H
|
||||
#endif // BOOST_COROUTINES_STANDARD_STACK_ALLOCATOR_H
|
||||
Reference in New Issue
Block a user