package binaryen

  1. Overview
  2. Docs

Source file global.ml

1
2
3
4
5
6
7
8
9
10
type t

external add_global : Module.t -> string -> Type.t -> bool -> Expression.t -> t
  = "caml_binaryen_add_global"
(** Module, name, type, mutable, value. *)

external get_global : Module.t -> string -> t = "caml_binaryen_get_global"

external remove_global : Module.t -> string -> unit
  = "caml_binaryen_remove_global"
OCaml

Innovation. Community. Security.