diff options
Diffstat (limited to 'library/core/src/ffi/c_int.md')
-rw-r--r-- | library/core/src/ffi/c_int.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/library/core/src/ffi/c_int.md b/library/core/src/ffi/c_int.md new file mode 100644 index 000000000..8062ff230 --- /dev/null +++ b/library/core/src/ffi/c_int.md @@ -0,0 +1,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 |