hostfunc

package
v2.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2024 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModuleBuilder

type ModuleBuilder struct {
	// contains filtered or unexported fields
}

func NewModuleBuilder

func NewModuleBuilder() *ModuleBuilder

func NewModuleBuilderWith

func NewModuleBuilderWith(in map[string]*wasm.Module) *ModuleBuilder

func (*ModuleBuilder) Done

func (m *ModuleBuilder) Done() map[string]*wasm.Module

func (*ModuleBuilder) MustSetFunction

func (m *ModuleBuilder) MustSetFunction(modName, funcName string, fn func(machine *wasm.VirtualMachine) reflect.Value)

func (*ModuleBuilder) SetFunction

func (m *ModuleBuilder) SetFunction(modName, funcName string, fn func(machine *wasm.VirtualMachine) reflect.Value) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL