Skip to content

Commit

Permalink
Deprecates fixed-width integer type aliases
Browse files Browse the repository at this point in the history
Closes #1304 .
  • Loading branch information
gnzlbg committed May 29, 2019
1 parent a086526 commit afa3edf
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions src/fixed_width_ints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,43 @@
//!
//! These aliases are deprecated: use the Rust types instead.
#[deprecated(
since = "0.2.55",
note = "Use i8 instead."
)]
pub type int8_t = i8;
#[deprecated(
since = "0.2.55",
note = "Use i16 instead."
)]
pub type int16_t = i16;
#[deprecated(
since = "0.2.55",
note = "Use i32 instead."
)]
pub type int32_t = i32;
#[deprecated(
since = "0.2.55",
note = "Use i64 instead."
)]
pub type int64_t = i64;
#[deprecated(
since = "0.2.55",
note = "Use u8 instead."
)]
pub type uint8_t = u8;
#[deprecated(
since = "0.2.55",
note = "Use u16 instead."
)]
pub type uint16_t = u16;
#[deprecated(
since = "0.2.55",
note = "Use u32 instead."
)]
pub type uint32_t = u32;
#[deprecated(
since = "0.2.55",
note = "Use u64 instead."
)]
pub type uint64_t = u64;

0 comments on commit afa3edf

Please sign in to comment.