1 unstable release
Uses old Rust 2015
| 0.0.1 | Dec 30, 2014 |
|---|
#25 in #uint
4KB
63 lines
ctypes, the integer typedef madness
The following are defined:
register size: ireg/ureg and pointer size: imem/umem
These are not the same and have no defined relation:
- 16-bit can have
ireg:16 imem:32(i.e. far pointers) - x32 has
ireg:64 imem:32, - 128-bit systems will probably use
ireg:128 imem:64.
The C types
ichar/uchar,
ishort/ushort,
iint/uint_, (uint once the Rust primitive changes name. See the various RFCs.)
ilong/ulong,
ilonglong/ulonglong
float and double.
imax/umax can hold any of the above.
void is the opaque pointer target.