Make fringe::Context private.
This commit is contained in:
parent
b1a6b17d0a
commit
ca43ba0498
|
@ -16,9 +16,7 @@ It provides high-level, safe abstractions:
|
||||||
* an implementation of internal iterators, also known as generators,
|
* an implementation of internal iterators, also known as generators,
|
||||||
[Generator](https://edef1c.github.io/libfringe/fringe/generator/struct.Generator.html).
|
[Generator](https://edef1c.github.io/libfringe/fringe/generator/struct.Generator.html).
|
||||||
|
|
||||||
It also provides low-level, *very* unsafe building blocks:
|
It also provides low-level, unsafe building blocks:
|
||||||
* a flexible, low-level context-swapping mechanism,
|
|
||||||
[Context](https://edef1c.github.io/libfringe/fringe/struct.Context.html);
|
|
||||||
* a trait that can be implemented by stack allocators,
|
* a trait that can be implemented by stack allocators,
|
||||||
[Stack](https://edef1c.github.io/libfringe/fringe/struct.Stack.html);
|
[Stack](https://edef1c.github.io/libfringe/fringe/struct.Stack.html);
|
||||||
* a stack allocator based on anonymous memory mappings with guard pages,
|
* a stack allocator based on anonymous memory mappings with guard pages,
|
||||||
|
|
|
@ -16,10 +16,8 @@
|
||||||
//! * an implementation of internal iterators, also known as generators,
|
//! * an implementation of internal iterators, also known as generators,
|
||||||
//! [Generator](generator/struct.Generator.html).
|
//! [Generator](generator/struct.Generator.html).
|
||||||
//!
|
//!
|
||||||
//! It also provides low-level, *very* unsafe building blocks:
|
//! It also provides low-level, unsafe building blocks:
|
||||||
//!
|
//!
|
||||||
//! * a flexible, low-level context-swapping mechanism,
|
|
||||||
//! [Context](struct.Context.html);
|
|
||||||
//! * a trait that can be implemented by stack allocators,
|
//! * a trait that can be implemented by stack allocators,
|
||||||
//! [Stack](struct.Stack.html);
|
//! [Stack](struct.Stack.html);
|
||||||
//! * a stack allocator based on anonymous memory mappings with guard pages,
|
//! * a stack allocator based on anonymous memory mappings with guard pages,
|
||||||
|
@ -33,7 +31,6 @@ extern crate std;
|
||||||
|
|
||||||
pub use stack::Stack;
|
pub use stack::Stack;
|
||||||
pub use stack::GuardedStack;
|
pub use stack::GuardedStack;
|
||||||
pub use context::Context;
|
|
||||||
pub use generator::Generator;
|
pub use generator::Generator;
|
||||||
|
|
||||||
#[cfg(any(unix, windows))]
|
#[cfg(any(unix, windows))]
|
||||||
|
|
Loading…
Reference in New Issue