Type Definition std::ffi::c_short

source · []
pub type c_short = i16;
🔬 This is a nightly-only experimental API. (core_ffi_c #94501)
Expand description

Equivalent to C’s signed short (short) type.

This type will almost always be i16, but may differ on some esoteric systems. The C standard technically only requires that this type be a signed integer with at least 16 bits; some systems may define it as i32, for example.