mmtk::util

Module api_util

source
Expand description

Helpers for making native APIs. This module contain helpers for the convenience of exposing the MMTk API to native (usually C/C++) programs.

Structsยง

  • An Option<ObjectReference> encoded as a usize (which is guaranteed to have the size of a native pointer). It guarantees that None is encoded as 0, and Some(objref) is encoded as the underlying usize value of the ObjectReference itself.