Mavryk_scoru_wasm.Host_funcsval lookup :
version:Wasm_pvm_state.version ->
Mavryk_webassembly_interpreter.Ast.name ->
Mavryk_webassembly_interpreter.Instance.externlookup ~version name retrieves or instantiates a host function by the given name.
Used to plug host function wrappers in the WASN interpreter linker.
val lookup_opt :
version:Wasm_pvm_state.version ->
Mavryk_webassembly_interpreter.Ast.name ->
Mavryk_webassembly_interpreter.Instance.extern optionlookup_opt ~version name is exactly lookup name but returns an option instead of raising `Not_found`.
val registry :
version:Wasm_pvm_state.version ->
write_debug:Builtins.write_debug ->
Mavryk_webassembly_interpreter.Host_funcs.registryregistry ~version ~write_debug returns the host functions registry for the expected PVM version, and with the expected implementation for the write_debug function.
A durable key was given by the kernel with a longer-than-allowed length.
module Error : sig ... endmodule type Memory_access = sig ... endmodule Memory_access_interpreter :
Memory_access
with type t := Mavryk_webassembly_interpreter.Instance.memory_instmodule Aux : sig ... endmodule Tick_model : sig ... endDefines the tick consumption of memory access for the host functions.
module Internal_for_tests : sig ... end