Owi.Concrete_valueModule to define externref values in OCaml. You should look in the `example` directory to understand how to use this before reading the code...
module Make_extern_func
(V : Func_intf.Value_types)
(M : Func_intf.Monad_type) :
Func_intf.T_Extern_func
with type int32 := V.int32
and type int64 := V.int64
and type float32 := V.float32
and type float64 := V.float64
and type 'a m := 'a M.ttype ref_value = | Externref of externref option| Funcref of Func_intf.t option| Arrayref of unit array optionval of_instr : Types.simplified Types.instr -> tval to_instr : t -> Types.simplified Types.instrval ref_null' : Types.simplified Types.heap_type -> ref_valueval ref_null : Types.simplified Types.heap_type -> tval ref_is_null : ref_value -> boolval pp : Format.formatter -> t -> unit