libc-rs/src/fixed_width_ints.rs

21 lines
803 B
Rust
Raw Permalink Normal View History

//! This module contains type aliases for C's fixed-width integer types .
//!
//! These aliases are deprecated: use the Rust types instead.
2019-09-12 15:12:33 +02:00
#[deprecated(since = "0.2.55", note = "Use i8 instead.")]
pub type int8_t = i8;
2019-09-12 15:12:33 +02:00
#[deprecated(since = "0.2.55", note = "Use i16 instead.")]
pub type int16_t = i16;
2019-09-12 15:12:33 +02:00
#[deprecated(since = "0.2.55", note = "Use i32 instead.")]
pub type int32_t = i32;
2019-09-12 15:12:33 +02:00
#[deprecated(since = "0.2.55", note = "Use i64 instead.")]
pub type int64_t = i64;
2019-09-12 15:12:33 +02:00
#[deprecated(since = "0.2.55", note = "Use u8 instead.")]
pub type uint8_t = u8;
2019-09-12 15:12:33 +02:00
#[deprecated(since = "0.2.55", note = "Use u16 instead.")]
pub type uint16_t = u16;
2019-09-12 15:12:33 +02:00
#[deprecated(since = "0.2.55", note = "Use u32 instead.")]
pub type uint32_t = u32;
2019-09-12 15:12:33 +02:00
#[deprecated(since = "0.2.55", note = "Use u64 instead.")]
pub type uint64_t = u64;