docs.rs failed to build ctypes-0.0.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
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.