1
0
Fork 0

Make fringe::Context private.

This commit is contained in:
edef 2016-08-09 16:10:30 +02:00
parent b1a6b17d0a
commit ca43ba0498
2 changed files with 2 additions and 7 deletions

View File

@ -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,

View File

@ -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))]