summaryrefslogtreecommitdiffstats
path: root/library/core/src/ffi/c_int.md
blob: 8062ff2307a9537ccf9007c982aa5e0eda09135e (plain)
1
2
3
4
5
Equivalent to C's `signed int` (`int`) type.

This type will almost always be [`i32`], but may differ on some esoteric systems. The C standard technically only requires that this type be a signed integer that is at least the size of a [`short`]; some systems define it as an [`i16`], for example.

[`short`]: c_short