blob: 75c52faf6a820dd6bd6625d8d65e2143b0853992 [file] [log] [blame]
open Types
open Values
type global
type t = global
exception Type
exception NotMutable
val alloc : global_type -> value -> global (* raises Type *)
val type_of : global -> global_type
val load : global -> value
val store : global -> value -> unit (* raises Type, NotMutable *)