Module primitives

Source
Expand description

This module contains type aliases for C’s platform-specific types and fixed-width integer types.

The platform-specific types definitions were taken from rust-lang/rust in library/core/src/ffi/primitives.rs

The fixed-width integer aliases are deprecated: use the Rust types instead.

Type Aliases§

c_char
c_double
c_float
c_int
c_long
c_longlong
c_schar
c_short
c_uchar
c_uint
c_ulong
c_ulonglong
c_ushort
int8_tDeprecated
int16_tDeprecated
int32_tDeprecated
int64_tDeprecated
uint8_tDeprecated
uint16_tDeprecated
uint32_tDeprecated
uint64_tDeprecated