Module libc/stdint
C11 <stdint.h> — fixed-width integer types and limits.
Note: Yo already has i8, i16, i32, i64, u8, u16, u32, u64.
This file provides C-compatible aliases and additional types/constants.
Stability
unstable — a raw C binding, not a Yo design. Yo's own fixed-width types
(i8 … u64, usize) are the supported spelling; the aliases below
exist so a prototype transcribed from a C header compiles unchanged.
What std/ actually uses from here is SIZE_MAX (std/allocator,
std/collections/array_list, std/collections/deque — the capacity
overflow guard) and wint_t (std/libc/wctype). The *_least* /
*_fast* types and the limit constants are additive-by-demand and
follow the platform's header, so no completeness claim is made.
Types
C's int8_t — an alias for Yo's i8. These eight aliases carry no
behaviour of their own; they exist so a prototype transcribed from a C
header resolves without rewriting its types. Yo code should write i8.
C's int16_t — Yo's i16.
C's int32_t — Yo's i32.
C's int64_t — Yo's i64.
C's uint8_t — Yo's u8.
C's uint16_t — Yo's u16.
C's uint32_t — Yo's u32.
C's uint64_t — Yo's u64.
Constants
Value: <unknown: i8>
Value: <unknown: i8>
Value: <unknown: i16>
Value: <unknown: i16>
Value: <unknown: i32>
Value: <unknown: i32>
Value: <unknown: i64>
Value: <unknown: i64>
Value: <unknown: u8>
Value: <unknown: u16>
Value: <unknown: u32>
Value: <unknown: u64>
Value: <unknown: int_least8_t>
Value: <unknown: int_least8_t>
Value: <unknown: int_least16_t>
Value: <unknown: int_least16_t>
Value: <unknown: int_least32_t>
Value: <unknown: int_least32_t>
Value: <unknown: int_least64_t>
Value: <unknown: int_least64_t>
Value: <unknown: uint_least8_t>
Value: <unknown: uint_least16_t>
Value: <unknown: uint_least32_t>
Value: <unknown: uint_least64_t>
Value: <unknown: int_fast8_t>
Value: <unknown: int_fast8_t>
Value: <unknown: int_fast16_t>
Value: <unknown: int_fast16_t>
Value: <unknown: int_fast32_t>
Value: <unknown: int_fast32_t>
Value: <unknown: int_fast64_t>
Value: <unknown: int_fast64_t>
Value: <unknown: uint_fast8_t>
Value: <unknown: uint_fast16_t>
Value: <unknown: uint_fast32_t>
Value: <unknown: uint_fast64_t>
Value: <unknown: intptr_t>
Value: <unknown: intptr_t>
Value: <unknown: uintptr_t>
Value: <unknown: intmax_t>
Value: <unknown: intmax_t>
Value: <unknown: uintmax_t>
Value: <unknown: isize>
Value: <unknown: isize>
Value: <unknown: usize>
Value: <unknown: int>
Value: <unknown: int>
Value: <unknown: wint_t>
Value: <unknown: wint_t>