package owi

  1. Overview
  2. Docs

runtime env

type t
type t' = t lazy_t
type 'env elem = {
  1. mutable value : 'env Value.ref_value array;
}
type data = {
  1. mutable value : string;
}
val get_memory : t -> int -> Memory.t
val get_func : t -> int -> t' Value.Func.t
val get_table : t -> int -> t' Table.t
val get_elem : t -> int -> t' elem
val get_data : t -> int -> data
val get_global : t -> int -> t' Global.t
val drop_elem : 'a elem -> unit
val drop_data : data -> unit
OCaml

Innovation. Community. Security.