package binaryen

  1. Overview
  2. Docs

Module Binaryen.GlobalSource

Sourcetype t
Sourceval add_global : Module.t -> string -> Type.t -> bool -> Expression.t -> t
Sourceval get_global : Module.t -> string -> t
Sourceval remove_global : Module.t -> string -> unit
Sourceval get_num_globals : Module.t -> int
Sourceval get_global_by_index : Module.t -> int -> t
Sourceval get_name : t -> string
Sourceval get_type : t -> Type.t
Sourceval is_mutable : t -> bool
Sourceval get_init_expr : t -> Expression.t