package octez-l2-libs

  1. Overview
  2. Docs
Octez layer2 libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

doc/octez-l2-libs.webassembly-interpreter/Tezos_webassembly_interpreter/Instance/index.html

Module Tezos_webassembly_interpreter.Instance

module ModuleMap : sig ... end
module NameMap : sig ... end
type module_key =
  1. | Module_key of string
val show_module_key : module_key -> Ppx_deriving_runtime.string
type module_inst = {
  1. types : Types.func_type Vector.t;
  2. funcs : func_inst Vector.t;
  3. tables : table_inst Vector.t;
  4. memories : memory_inst Vector.t;
  5. globals : global_inst Vector.t;
  6. exports : extern NameMap.t;
  7. elems : elem_inst Vector.t;
  8. datas : data_inst Vector.t;
  9. allocations : Ast.allocations;
}
and func_inst = module_key Func.t
and table_inst = Table.t
and memory_inst = Memory.t
and global_inst = Global.t
and input_inst = Input_buffer.t
and output_inst = Output_buffer.t
and export_inst = Ast.name * extern
and elem_inst = Values.ref_ Vector.t ref
and data_inst = Ast.data_label ref
and extern =
  1. | ExternFunc of func_inst
  2. | ExternTable of table_inst
  3. | ExternMemory of memory_inst
  4. | ExternGlobal of global_inst
and module_reg = module_inst ModuleMap.t
type Values.ref_ +=
  1. | FuncRef of func_inst
val empty_module_inst : module_inst
val update_module_ref : 'a ModuleMap.t -> module_key -> 'a -> unit
val resolve_module_ref : 'a ModuleMap.t -> module_key -> 'a Lwt.t
val extern_type_of : extern -> Types.extern_type
val export : module_inst -> NameMap.key -> extern option Lwt.t
OCaml

Innovation. Community. Security.