Adjusting the module layout to match the C library includes better.
This makes it so that if you needed to include stdio.h in C now you would: use pact::stdio::*;
This commit is contained in:
parent
32f4b20097
commit
4c817749dc
22
src/c/mod.rs
22
src/c/mod.rs
@ -3,18 +3,10 @@
|
|||||||
//! this library is as up-to-date as it can be.
|
//! this library is as up-to-date as it can be.
|
||||||
|
|
||||||
|
|
||||||
mod errno;
|
pub mod errno;
|
||||||
mod math;
|
pub mod math;
|
||||||
mod stddef;
|
pub mod stddef;
|
||||||
mod stdlib;
|
pub mod stdlib;
|
||||||
mod string;
|
pub mod stdio;
|
||||||
mod time;
|
pub mod string;
|
||||||
|
pub mod time;
|
||||||
|
|
||||||
|
|
||||||
pub use self::errno::*;
|
|
||||||
pub use self::math::*;
|
|
||||||
pub use self::stddef::*;
|
|
||||||
pub use self::stdlib::*;
|
|
||||||
pub use self::string::*;
|
|
||||||
pub use self::time::*;
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user