package octez-l2-libs

  1. Overview
  2. Docs
Octez layer2 libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

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

Module Tezos_webassembly_interpreter.Partial_table

include Table_sig.S
type table
type t = table
type size = int32
type index = int32
type count = int32
exception Type
exception Bounds
exception SizeOverflow
exception SizeLimit
exception OutOfMemory
val type_of : table -> Types.table_type
val size : table -> size
val grow : table -> size -> Values.ref_ -> unit
val load : table -> index -> Values.ref_ Lwt.t
val store : table -> index -> Values.ref_ -> unit
val blit : table -> index -> Values.ref_ list -> unit
val alloc_shallow : Types.table_type -> t

alloc_shallow table_ty is like alloc but without a default value for the references in the table. That means accessing any unset element will raise Lazy_map.UnexpectedAccess.

val of_lazy_vector : Types.table_type -> Values.ref_ Vector.Vector.t -> t
OCaml

Innovation. Community. Security.