package binaryen

  1. Overview
  2. Docs
type segment = {
  1. name : string;
  2. passive : bool;
  3. offset : Expression.t;
  4. size : int;
}
val set_memory : Module.t -> int -> int -> string -> segment list -> bool -> unit

Module, initial size, maximum size, export name, segments, shared.

OCaml

Innovation. Community. Security.