Type Definition ocaml_sys::Header

source · []
pub type Header = Uintnat;
Expand description

An OCaml heap-allocated block header. NB: this is currently unimplemented.

Structure of the header:

For 16-bit and 32-bit architectures:

      +--------+-------+-----+
      | wosize | color | tag |
      +--------+-------+-----+
 bits  31    10 9     8 7   0

For 64-bit architectures:

      +--------+-------+-----+
      | wosize | color | tag |
      +--------+-------+-----+
 bits  63    10 9     8 7   0