core: Add modules for remaining scalar types

This commit is contained in:
Brian Anderson 2012-02-11 23:18:26 -08:00
parent 0dacefb428
commit 87d17be846
14 changed files with 29 additions and 5 deletions

View File

@ -28,12 +28,14 @@ This behavior can be disabled with the `no_core` crate attribute."
)];
export box, char, float, bessel, f32, f64, int, str, ptr;
export uint, u8, u32, u64, vec, bool;
export int, i8, i16, i32, i64;
export uint, u8, u16, u32, u64;
export float, f32, f64;
export box, char, str, ptr, vec, bool;
export either, option, result, iter;
export ctypes, sys, unsafe, comm, task, logging;
export extfmt;
export math;
export math, bessel;
export tuple;
// Built-in-type support modules
@ -45,10 +47,15 @@ mod bessel;
mod f32;
mod f64;
mod int;
mod i8;
mod i16;
mod i32;
mod i64;
mod str;
mod ptr;
mod uint;
mod u8;
mod u16;
mod u32;
mod u64;
mod vec;

View File

@ -1,4 +1,4 @@
#[doc = "Floating point operations and constants for `f32`"];
#[doc = "Operations and constants constants for `f32`"];
// PORT

View File

@ -1,4 +1,4 @@
#[doc = "Floating point operations and constants for `f64`"];
#[doc = "Operations and constants constants for `f64`"];
// PORT

View File

@ -1,3 +1,5 @@
#[doc = "Operations and constants constants for `float`"];
/*
Module: float
*/

1
src/libcore/i16.rs Normal file
View File

@ -0,0 +1 @@
#[doc = "Operations and constants constants for `i16`"];

1
src/libcore/i32.rs Normal file
View File

@ -0,0 +1 @@
#[doc = "Operations and constants constants for `i32`"];

1
src/libcore/i64.rs Normal file
View File

@ -0,0 +1 @@
#[doc = "Operations and constants constants for `i64`"];

1
src/libcore/i8.rs Normal file
View File

@ -0,0 +1 @@
#[doc = "Operations and constants constants for `i8`"];

View File

@ -1,3 +1,5 @@
#[doc = "Operations and constants constants for `int`"];
/*
Module: int
*/

1
src/libcore/u16.rs Normal file
View File

@ -0,0 +1 @@
#[doc = "Operations and constants constants for `u16`"];

View File

@ -1,3 +1,5 @@
#[doc = "Operations and constants constants for `u32`"];
/*
Module: u32
*/

View File

@ -1,3 +1,5 @@
#[doc = "Operations and constants constants for `u64`"];
/*
Module: u64
*/

View File

@ -1,3 +1,5 @@
#[doc = "Operations and constants constants for `u8`"];
/*
Module: u8
*/

View File

@ -1,3 +1,5 @@
#[doc = "Operations and constants constants for `uint`"];
/*
Module: uint
*/